diff --git a/app/stores/SharesStore.ts b/app/stores/SharesStore.ts index da63a95f2..3f0f60de5 100644 --- a/app/stores/SharesStore.ts +++ b/app/stores/SharesStore.ts @@ -60,7 +60,7 @@ export default class SharesStore extends Store { this.isFetching = true; try { - const res = await client.post(`/${this.modelName}s.info`, { + const res = await client.post(`/${this.apiEndpoint}.info`, { documentId, });