Fix eslint

This commit is contained in:
Cohee
2024-07-07 22:40:03 +03:00
parent cde328a43d
commit f7e2d72ac7
2 changed files with 10 additions and 10 deletions

View File

@@ -599,13 +599,13 @@ tabby.post('/download', jsonParser, async function (request, response) {
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify(request.body),
timeout: 0,
}
};
setAdditionalHeaders(request, args, baseUrl);
// Check key permissions
const permissionResponse = await fetch(`${baseUrl}/v1/auth/permission`, {
headers: args.headers
headers: args.headers,
});
if (permissionResponse.ok) {