From 11e062549a13b2fc7afd06e6479db8a5793b254d Mon Sep 17 00:00:00 2001 From: Steven Date: Tue, 8 Aug 2023 23:00:05 +0800 Subject: [PATCH] fix: list shortcut api url --- extension/src/components/PullShortcutsButton.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extension/src/components/PullShortcutsButton.tsx b/extension/src/components/PullShortcutsButton.tsx index c05e2bb0..07ffd02b 100644 --- a/extension/src/components/PullShortcutsButton.tsx +++ b/extension/src/components/PullShortcutsButton.tsx @@ -24,7 +24,7 @@ const PullShortcutsButton = () => { setIsPulling(true); const { data: { shortcuts }, - } = await axios.get(`${domain}/api/v2/shortcut`, { + } = await axios.get(`${domain}/api/v2/shortcuts`, { headers: { Authorization: `Bearer ${accessToken}`, },