Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0d829b3

Browse files
committed
Update route in UI for getting new token
1 parent b232d0c commit 0d829b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ export const logout = async (): Promise<void> => {
141141
}
142142

143143
export const getApiKey = async (): Promise<{ key: string }> => {
144-
const response = await fetch("/api/v2/api-keys", {
144+
const response = await fetch("/api/v2/users/me/keys", {
145145
method: "POST",
146146
})
147147

0 commit comments

Comments
 (0)