Skip to content

Commit

Permalink
Merge pull request #70 from gabriel-dantas98/fix-getMostUpvotedQuesti…
Browse files Browse the repository at this point in the history
…ons-client

fix(getMostUpvotedQuestions): fix url getMostUpvotedQuestions QetaClient
  • Loading branch information
drodil authored Jun 21, 2023
2 parents 3dfbeb7 + 761585d commit 91a5ac7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/qeta/src/api/QetaClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ export class QetaClient implements QetaApi {
options: StatisticsRequestParameters,
): Promise<StatisticResponse> {
const query = this.getQueryParameters(options.options).toString();
let url = `${await this.getBaseUrl()}/statistics/questions/top-correct-upvoted-users`;
let url = `${await this.getBaseUrl()}/statistics/questions/top-upvoted-users`;

if (query) {
url += `?${query}`;
Expand Down

0 comments on commit 91a5ac7

Please sign in to comment.