Browse Source

Deprecate SymbolProfile in favor of assetProfile

pull/8026/head
Thomas Kaul 2 weeks ago
parent
commit
91efb2cbff
  1. 2
      apps/api/src/helper/object.helper.spec.ts
  2. 4
      libs/common/src/lib/interfaces/responses/create-activity-response.interface.ts

2
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: {

4
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;
}

Loading…
Cancel
Save