mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Fix save url error when uid is not in the apollo context
This commit is contained in:
parent
29da91e760
commit
692fd7b959
1 changed files with 1 additions and 1 deletions
|
|
@ -74,7 +74,7 @@ export const saveUrlResolver = authorized<
|
|||
return { errorCodes: [SaveErrorCode.Unauthorized] }
|
||||
}
|
||||
|
||||
return (await saveUrl(ctx, user, input)) as SaveSuccess
|
||||
return (await saveUrl({ ...ctx, uid }, user, input)) as SaveSuccess
|
||||
})
|
||||
|
||||
export const saveFileResolver = authorized<
|
||||
|
|
|
|||
Loading…
Reference in a new issue