mirror of
https://github.com/diced/zipline.git
synced 2025-04-11 23:31:17 -05:00
facepalm
This commit is contained in:
parent
65590558f6
commit
b6898b0ad8
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ export default async function rawRoute(this: FastifyInstance, req: FastifyReques
|
|||
return reply
|
||||
.type('application/json')
|
||||
.code(403)
|
||||
.send({ error: 'incorrect protected', url: `/view/${file.name}`, code: 403 });
|
||||
.send({ error: 'incorrect password', url: `/view/${file.name}`, code: 403 });
|
||||
const success = await checkPassword(password, file.password);
|
||||
|
||||
if (!success)
|
||||
|
|
Loading…
Add table
Reference in a new issue