feat(custom-fields): allow creating values without predefined field ID

This commit is contained in:
Matthieu
2025-09-30 15:34:06 +02:00
parent 55c57362c5
commit bd058cd533
4 changed files with 176 additions and 50 deletions

View File

@@ -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);
}
}