[PLUGIN][Pinboard] Implement tag handling

This commit is contained in:
2022-04-01 00:16:04 +01:00
parent ca9945a4be
commit 74ffd261b8
4 changed files with 128 additions and 44 deletions

View File

@@ -95,7 +95,7 @@ class Token extends Entity
options: ['limit' => 1],
),
);
} elseif (!is_id($id) && !\is_null($token)) {
} elseif (!\is_null($id) && !\is_null($token)) {
return Cache::get(
self::cacheKeys($id)['user-token'],
fn () => DB::dql(