Skip to content

Commit

Permalink
fix server lints
Browse files Browse the repository at this point in the history
  • Loading branch information
dqnykamp committed Aug 15, 2024
1 parent 822b5af commit 93c2bb4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2097,7 +2097,7 @@ app.post(
try {
const loggedInUserId = Number(req.user.userId);

let results = await setPreferredFolderView(loggedInUserId, cardView);
const results = await setPreferredFolderView(loggedInUserId, cardView);
res.send(results);
} catch (e) {
if (e instanceof PrismaClientKnownRequestError && e.code === "P2025") {
Expand All @@ -2121,7 +2121,7 @@ app.get(
try {
const loggedInUserId = Number(req.user.userId);

let results = await getPreferredFolderView(loggedInUserId);
const results = await getPreferredFolderView(loggedInUserId);
res.send(results);
} catch (e) {
if (e instanceof PrismaClientKnownRequestError && e.code === "P2025") {
Expand Down

0 comments on commit 93c2bb4

Please sign in to comment.