mirror of
https://github.com/aykhans/slash-e.git
synced 2025-04-18 21:19:44 +00:00
fix: list shortcut api url
This commit is contained in:
parent
6a9fcb1c18
commit
11e062549a
@ -24,7 +24,7 @@ const PullShortcutsButton = () => {
|
|||||||
setIsPulling(true);
|
setIsPulling(true);
|
||||||
const {
|
const {
|
||||||
data: { shortcuts },
|
data: { shortcuts },
|
||||||
} = await axios.get<ListShortcutsResponse>(`${domain}/api/v2/shortcut`, {
|
} = await axios.get<ListShortcutsResponse>(`${domain}/api/v2/shortcuts`, {
|
||||||
headers: {
|
headers: {
|
||||||
Authorization: `Bearer ${accessToken}`,
|
Authorization: `Bearer ${accessToken}`,
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user