[Fix] field does not appear directly after creation (#6708)

This commit is contained in:
Marie
2024-08-21 12:08:57 +02:00
committed by GitHub
parent 614a81860f
commit aa4ae53fb4

View File

@ -274,7 +274,7 @@ export class FieldMetadataService extends TypeOrmQueryService<FieldMetadataEntit
throw error;
} finally {
await queryRunner.release();
await this.workspaceMetadataVersionService.getMetadataVersion(
await this.workspaceMetadataVersionService.incrementMetadataVersion(
fieldMetadataInput.workspaceId,
);
}