@communecter/cocolight-api-client 1.0.61 → 1.0.62
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cocolight-api-client.browser.js +1 -1
- package/dist/cocolight-api-client.cjs +1 -1
- package/dist/cocolight-api-client.mjs.js +1 -1
- package/dist/cocolight-api-client.vite.mjs.js +1 -1
- package/dist/cocolight-api-client.vite.mjs.js.map +1 -1
- package/package.json +1 -1
- package/src/api/Answer.ts +1 -1
package/package.json
CHANGED
package/src/api/Answer.ts
CHANGED
|
@@ -28,7 +28,7 @@ export class Answer extends BaseEntity<AnswerItemNormalized> {
|
|
|
28
28
|
|
|
29
29
|
// Transformer user en instance User
|
|
30
30
|
if(data.user && typeof data.user === "object" && "id" in data.user) {
|
|
31
|
-
data.user = this._linkNestedEntity({
|
|
31
|
+
data.user = this._linkNestedEntity({ type: "citoyens", collection: "citoyens", ...data.user });
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
// Transformer context en instance Organization/Project
|