Refactor API under /auth/api
This commit is contained in:
1 parent
5281432c96
commit
6e5ea9eac0
7 files changed
+208
-240
No files matched your search
@@ -46,7 +46,7 @@ const copyLink = async (event) => {
|
||||
|
||||
onMounted(async () => {
|
||||
try {
|
||||
const response = await fetch('/auth/create-link', { method: 'POST' })
|
||||
const response = await fetch('/auth/api/create-link', { method: 'POST' })
|
||||
const result = await response.json()
|
||||
if (result.detail) throw new Error(result.detail)
|
||||
|
||||
|
||||
Reference in new issue
Block a user