Skip to content

Commit

Permalink
fix: incorrect session access
Browse files Browse the repository at this point in the history
  • Loading branch information
karrui committed Dec 12, 2023
1 parent c066d62 commit 6d26fd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/modules/storage/storage.router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const storageRouter = router({
return null
}
const imageKey = `${env.R2_AVATARS_DIRECTORY}/${
ctx.session.user.id
ctx.user.id
}/avatar-${Date.now()}`

return {
Expand Down

0 comments on commit 6d26fd5

Please sign in to comment.