@communecter/cocolight-api-client 1.0.103 → 1.0.104
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/BaseEntity.ts +2 -3
package/package.json
CHANGED
package/src/api/BaseEntity.ts
CHANGED
|
@@ -548,7 +548,7 @@ export class BaseEntity<TServerData = any> {
|
|
|
548
548
|
*/
|
|
549
549
|
protected _setData(newData: TServerData, { forceInitialDraftReset = false }: { forceInitialDraftReset?: boolean } = {}): void {
|
|
550
550
|
if (this.userContext && this.userContext !== (this as object)) {
|
|
551
|
-
this.apiClient._logger?.
|
|
551
|
+
this.apiClient._logger?.debug?.(`[${this.__entityTag}] Mise à jour liée à userContext : ${this.userContext.id}`);
|
|
552
552
|
}
|
|
553
553
|
|
|
554
554
|
const transformed = this._transformServerData(newData);
|
|
@@ -3063,8 +3063,7 @@ export class BaseEntity<TServerData = any> {
|
|
|
3063
3063
|
"$or": {
|
|
3064
3064
|
[`links.attendees.${this.id}`]: { "$exists": true },
|
|
3065
3065
|
[`organizer.${this.id}`]: { "$exists": true }
|
|
3066
|
-
}
|
|
3067
|
-
[`links.attendees.${this.id}`]: { "$exists": true }
|
|
3066
|
+
}
|
|
3068
3067
|
};
|
|
3069
3068
|
|
|
3070
3069
|
return this.endpointApi.getEvents(finalData);
|