mirror of
https://github.com/aykhans/slash-e.git
synced 2025-04-16 12:23:12 +00:00
fix: list shortcut api url
This commit is contained in:
parent
6a9fcb1c18
commit
11e062549a
@ -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}`,
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user