feat(custom-fields): allow creating values without predefined field ID
This commit is contained in:
@@ -59,11 +59,6 @@ export class CustomFieldsController {
|
||||
|
||||
@Post('values/upsert')
|
||||
upsertCustomFieldValue(@Body() body: UpsertCustomFieldValueDto) {
|
||||
return this.customFieldsService.upsertCustomFieldValue(
|
||||
body.customFieldId,
|
||||
body.entityType,
|
||||
body.entityId,
|
||||
body.value,
|
||||
);
|
||||
return this.customFieldsService.upsertCustomFieldValue(body);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user