mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Add some more logging to the save API
This commit is contained in:
parent
381c69f32c
commit
08a250177c
1 changed files with 1 additions and 0 deletions
|
|
@ -9,6 +9,7 @@ export default async (
|
|||
const urlStr = req.query['url']
|
||||
const url = new URL(urlStr as string)
|
||||
const saveResult = await saveUrlMutation(url.toString())
|
||||
console.log('saveResult: ', saveResult)
|
||||
if (saveResult?.jobId) {
|
||||
res.redirect(`/sr/${saveResult?.jobId}`)
|
||||
return
|
||||
|
|
|
|||
Loading…
Reference in a new issue