mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2026-01-20 20:01:25 +00:00
Use string for extension.code instead of number "404"
This commit is contained in:
parent
c310644edc
commit
296fc5a039
@ -105,7 +105,7 @@ const scraper = {
|
||||
)
|
||||
|
||||
if (isEmpty(output)) {
|
||||
throw new ApolloError('Not found', 404)
|
||||
throw new ApolloError('Not found', 'NOT_FOUND')
|
||||
}
|
||||
|
||||
// fix youtube start parameter
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user