Skip to content

Commit

Permalink
fix: return null instead of undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
chrispader committed Dec 11, 2024
1 parent 742ce23 commit b41c879
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/storage/providers/SQLiteProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const provider: StorageProvider = {
const result = rows?.item(0);

if (result == null) {
return undefined;
return null;
}

return JSON.parse(result.valueJSON);
Expand Down

0 comments on commit b41c879

Please sign in to comment.