mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-22 22:33:08 +02:00
fix merge mistake
This commit is contained in:
parent
886f5dd391
commit
e4d7b2311f
1 changed files with 2 additions and 1 deletions
|
@ -86,7 +86,8 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
|
|||
|
||||
const instance = await this.metaService.fetch();
|
||||
|
||||
if (instance.deeplAuthKey == null && !instance.deeplFree throw new ApiError(meta.errors.unavailable);
|
||||
if (instance.deeplAuthKey == null && !instance.deeplFreeMode) {
|
||||
throw new ApiError(meta.errors.unavailable);
|
||||
}
|
||||
|
||||
if (instance.deeplFreeMode && !instance.deeplFreeInstance) {
|
||||
|
|
Loading…
Reference in a new issue