Skip to content

Commit

Permalink
Update jest.global-setup.js
Browse files Browse the repository at this point in the history
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
lelemm and coderabbitai[bot] authored Nov 18, 2024
1 parent e9bf045 commit 557b488
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jest.global-setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const setSessionUser = (userId, token = 'valid-token') => {
throw new Error(`Session not found for token: ${token}`);
}

getAccountDb().mutate('UPDATE sessions SET user_id = ? WHERE token = ?', [
db.mutate('UPDATE sessions SET user_id = ? WHERE token = ?', [
userId,
token,
]);
Expand Down

0 comments on commit 557b488

Please sign in to comment.