@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/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/Event.ts +1 -1
- package/src/api/Project.ts +1 -1
package/package.json
CHANGED
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 = {
|
|
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 },
|
package/src/api/Project.ts
CHANGED
|
@@ -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 = {
|
|
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 },
|