fix: list shortcut api url

This commit is contained in:
Steven 2023-08-08 23:00:05 +08:00
parent 6a9fcb1c18
commit 11e062549a

View File

@ -24,7 +24,7 @@ const PullShortcutsButton = () => {
setIsPulling(true);
const {
data: { shortcuts },
} = await axios.get<ListShortcutsResponse>(`${domain}/api/v2/shortcut`, {
} = await axios.get<ListShortcutsResponse>(`${domain}/api/v2/shortcuts`, {
headers: {
Authorization: `Bearer ${accessToken}`,
},