diff --git a/app/Helpers/Managers/BaseManager.ts b/app/Helpers/Managers/BaseManager.ts index e9c8e7d9..143bb796 100644 --- a/app/Helpers/Managers/BaseManager.ts +++ b/app/Helpers/Managers/BaseManager.ts @@ -285,7 +285,7 @@ export class BaseManager { if ( this.instances.length === 1 && - (this.ctx.params.id || this.method == 'POST') + (this.ctx.params.id || this.method === 'POST') ) { return this.$toResource(this.instances[0]); }