@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@communecter/cocolight-api-client",
3
- "version": "1.0.103",
3
+ "version": "1.0.104",
4
4
  "description": "Client Axios simplifié pour l'API cocolight",
5
5
  "repository": {
6
6
  "type": "git",
@@ -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?.info?.(`[${this.__entityTag}] Mise à jour liée à userContext : ${this.userContext.id}`);
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);