@communecter/cocolight-api-client 1.0.83 → 1.0.84

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.83",
3
+ "version": "1.0.84",
4
4
  "description": "Client Axios simplifié pour l'API cocolight",
5
5
  "repository": {
6
6
  "type": "git",
package/src/api/Event.ts CHANGED
@@ -222,7 +222,7 @@ export class Event extends BaseEntity<EventItemNormalized> {
222
222
  const { toBeValidated, isAdmin, isInviting, isAdminPending, roles = [] } = options;
223
223
 
224
224
  if(this.isMe){
225
- finalData.pathParams = { type: this.getEntityType(), id: this.id };
225
+ finalData.pathParams = { id: this.id };
226
226
  // NOTE : dans le schema je crois que si pas de finalData.filters alors le default ce fait avec finalData.pathParams
227
227
  // finalData.filters = {
228
228
  // [`links.events.${this.id}`]: { "$exists": true },
@@ -243,7 +243,7 @@ export class Project extends BaseEntity<ProjectItemNormalized> {
243
243
  const { toBeValidated, isAdmin, isInviting, isAdminPending, roles = [] } = options;
244
244
 
245
245
  if(this.isMe){
246
- finalData.pathParams = { type: this.getEntityType(), id: this.id };
246
+ finalData.pathParams = { id: this.id };
247
247
  // NOTE : dans le schema je crois que si pas de finalData.filters alors le default ce fait avec finalData.pathParams
248
248
  // finalData.filters = {
249
249
  // [`links.projects.${this.id}`]: { "$exists": true },