mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Fix eslint
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user