diff --git a/app/src/api/services/domainLogic/validateUpdate.ts b/app/src/api/services/domainLogic/validateUpdate.ts index 9910a898..b9e35d3a 100644 --- a/app/src/api/services/domainLogic/validateUpdate.ts +++ b/app/src/api/services/domainLogic/validateUpdate.ts @@ -24,9 +24,7 @@ function canEdit(key: string, allowDerived: boolean = false) { export function validateFieldChange(field: string, value: any, isExternal: boolean = true) { if(!isDefined(field)) { - if(field !== 'is_extension'){ - throw new InvalidFieldError('Field does not exist', field); - } + throw new InvalidFieldError('Field does not exist', field); } const allowDerived = !isExternal;