Skip to content

Commit

Permalink
Fixes the error that the wrong endpoint is called.
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyperghost committed Sep 27, 2024
1 parent 3a123b4 commit 0cd0052
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ts/WoltLabSuite/Core/Api/Messages/MentionSuggestions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ type Item =
type Response = Item[];

export async function mentionSuggestions(query: string): Promise<ApiResult<Response>> {
const url = new URL(window.WSC_API_URL + "core/messages/mentionsuggestions");
const url = new URL(window.WSC_RPC_API_URL + "core/messages/mentionsuggestions");
url.searchParams.set("query", query);

let response: Response;
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0cd0052

Please sign in to comment.