Switch from Tenor to Giphy for GIF search

This commit is contained in:
Jamie
2026-01-27 10:13:47 -08:00
committed by GitHub
parent 69f11c7f31
commit 7e6661db14
22 changed files with 456 additions and 424 deletions

View File

@@ -7587,10 +7587,10 @@ function addRecentGif(
})();
}
function removeRecentGif(db: WritableDB, gif: Pick<GifType, 'id'>): void {
function removeRecentGif(db: WritableDB, gifId: GifType['id']): void {
const [query, params] = sql`
DELETE FROM recentGifs
WHERE id = ${gif.id}
WHERE id = ${gifId}
`;
db.prepare(query).run(params);
}