fix label update

This commit is contained in:
Marie Stoppa 2024-09-25 15:39:28 +02:00
parent e5ef6d7a51
commit 5107890cce

View File

@ -172,15 +172,6 @@ export class MigratePhoneFieldsToPhonesCommand extends ActiveWorkspacesCommandRu
workspaceId: workspaceId,
fieldId: standardPersonPhonesField.id,
});
await this.fieldMetadataService.updateOne(
standardPersonPhonesField.id,
{
id: standardPersonPhonesField.id,
workspaceId: standardPersonPhonesField.workspaceId,
label: 'Phone (deprecated)',
},
);
}
// Copy phone data from Text type to Phones type