1
Fork 0
mirror of https://github.com/diced/zipline.git synced 2025-04-11 23:31:17 -05:00
This commit is contained in:
Jayvin Hernandez 2025-02-06 19:27:45 -08:00
parent 65590558f6
commit b6898b0ad8
No known key found for this signature in database
GPG key ID: 97C2E533F17AF0EB

View file

@ -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)