diff --git a/ts/sql/Server.ts b/ts/sql/Server.ts index 019acb259..12af3ee24 100644 --- a/ts/sql/Server.ts +++ b/ts/sql/Server.ts @@ -4090,7 +4090,15 @@ async function getAllStickerPacks(): Promise> { ) .all(); - return rows || []; + return rows.map(row => { + return { + ...row, + // The columns have STRING type so if they have numeric value, sqlite + // will return integers. + author: String(row.author), + title: String(row.title), + }; + }); } function addUninstalledStickerPackSync(pack: UninstalledStickerPackType): void { const db = getInstance();