diff --git a/apps/api/src/helper/object.helper.spec.ts b/apps/api/src/helper/object.helper.spec.ts index 5833dafb78..773b7905ae 100644 --- a/apps/api/src/helper/object.helper.spec.ts +++ b/apps/api/src/helper/object.helper.spec.ts @@ -3122,7 +3122,7 @@ describe('redactAttributes', () => { // The endpoint POST api/v1/activities returns a row of the database with the // asset profile and the deprecated relation to the symbol profile - it('should redact an activity with the relation to the symbol profile', () => { + it('should redact an activity with the asset profile and the relation to the symbol profile', () => { expect( redactPaths({ object: { diff --git a/libs/common/src/lib/interfaces/responses/create-activity-response.interface.ts b/libs/common/src/lib/interfaces/responses/create-activity-response.interface.ts index 93beeb9247..198a2cef79 100644 --- a/libs/common/src/lib/interfaces/responses/create-activity-response.interface.ts +++ b/libs/common/src/lib/interfaces/responses/create-activity-response.interface.ts @@ -5,6 +5,8 @@ import { EnhancedAssetProfile } from '../enhanced-asset-profile.interface'; export interface CreateActivityResponse extends Order { assetProfile: EnhancedAssetProfile; - /* @deprecated */ + /** + * @deprecated Use `assetProfile` instead + */ SymbolProfile: SymbolProfile; }