Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit d267a0e

Browse files
committedApr 21, 2024
chore: incorrect comment for package
1 parent e0cb992 commit d267a0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎libs/json-api/json-api-nestjs-sdk/src/lib/service/json-api-sdk.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ export class JsonApiSdkService {
171171
data: {
172172
id: entity[this.jsonApiSdkConfig.idKey].toString(),
173173
type: getTypeForReq(entity.constructor.name),
174-
...(Object.keys(attributes).length > 0 ? { attributes } : {}),
174+
attributes,
175175
...(Object.keys(relationships).length > 0 ? { relationships } : {}),
176176
},
177177
};

0 commit comments

Comments
 (0)
Please sign in to comment.