Skip to content

Commit 5d2f9d9

Browse files
committed
chore: arrrr
1 parent 3101fca commit 5d2f9d9

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)