From c9af0417ac8ff37f30712b4fe3249d41959c27bb Mon Sep 17 00:00:00 2001 From: harryob <55142896+harryob@users.noreply.github.com> Date: Tue, 22 Oct 2024 16:59:02 +0100 Subject: [PATCH] correct path using cm_api_rs --- src/components/userLookup.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/userLookup.tsx b/src/components/userLookup.tsx index 88c9aaf..8b2536a 100644 --- a/src/components/userLookup.tsx +++ b/src/components/userLookup.tsx @@ -58,7 +58,7 @@ export const LookupMenu: React.FC = ( callApi( userCkeyChecked ? `/User?ckey=${userCkeyChecked}` - : `/User?discordId=${userDiscordId}` + : `/User?discord_id=${userDiscordId}` ).then((value) => { if (value.status == 404) { global?.updateAndShowToast("Failed to find user.");