Skip to content

Commit f55b42a

Browse files
committed
Fix internal calls to Http class
1 parent 7aabbfd commit f55b42a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/helpers/ConversationsHelper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ class ConversationsHelper {
104104
* @return {Array<Reply>} An array of raw data objects.
105105
*/
106106
async listRepliesUntil(conversationId, shouldContinue, sort) {
107-
return await this.#wrapper.list_until(`/conversations/${conversationId}/replies`, shouldContinue, sort);
107+
return await this.#wrapper.http().listUntil(`/conversations/${conversationId}/replies`, shouldContinue, sort);
108108
}
109109

110110
/** Reply to an unread conversation

src/helpers/resources/ResourcesHelper.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ class ResourcesHelper {
9494
* @return {Array<BasicResource>} An array of raw data objects.
9595
*/
9696
async listCollaborated(sort) {
97-
return await this.#wrapper.get("/resources/collaborated", sort);
97+
return await this.#wrapper.http().get("/resources/collaborated", sort);
9898
}
9999

100100
/** List all pages of collaborated resources.
@@ -126,7 +126,7 @@ class ResourcesHelper {
126126
* @return {Array<BasicResource>} An array of raw data objects.
127127
*/
128128
async listByAuthor(authorId, sort) {
129-
return await this.#wrapper.get(`/resources/authors/${authorId}`, sort);
129+
return await this.#wrapper.http().get(`/resources/authors/${authorId}`, sort);
130130
}
131131

132132
/** List all pages of resources by an author.

0 commit comments

Comments
 (0)