fix merge mistake
This commit is contained in:
parent
886f5dd391
commit
e4d7b2311f
@ -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 New Issue
Block a user