mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Merge pull request #2116 from omnivore-app/fix/save-url
Fix save url error when uid is not in the apollo context
This commit is contained in:
commit
d08a7d8770
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