diff --git a/package.json b/package.json index 848a7d8..27a8460 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "harmony-back", - "version": "0.13.23", + "version": "0.13.24", "private": true, "description": "A Strapi application", "scripts": { diff --git a/src/api/chat-conversation-member/routes/custom.ts b/src/api/chat-conversation-member/routes/custom.ts index 96e482b..2cdb4b7 100644 --- a/src/api/chat-conversation-member/routes/custom.ts +++ b/src/api/chat-conversation-member/routes/custom.ts @@ -6,7 +6,10 @@ export default { routes: [ { method: "GET", - path: "/chat-conversation-members/mine", + // Chemin distinct : sous /chat-conversation-members/:id, le routeur + // cœur capterait « mine » comme un identifiant (findOne), selon l'ordre + // d'enregistrement des routes. + path: "/my-chat-conversations", handler: "chat-conversation-member.mine", }, ],