feat: changed endpoints
This commit is contained in:
parent
1f0f9196c4
commit
c76e83f2bf
@ -1,6 +1,6 @@
|
||||
<script lang="ts" setup>
|
||||
import { store } from "../main.ts";
|
||||
import { callApi } from "@/services/api.ts";
|
||||
import { callApi, postApi } from "@/services/api.ts";
|
||||
import { ref } from "vue";
|
||||
|
||||
const CustomRequest = ref("");
|
||||
@ -58,7 +58,7 @@ const USERID = ref("");
|
||||
<tr>
|
||||
<td>Get Pending Accounts</td>
|
||||
<td>
|
||||
<button @click="callApi('admin/get_pending_accounts')">
|
||||
<button @click="callApi('/admin/pending-accounts')">
|
||||
call
|
||||
</button>
|
||||
</td>
|
||||
|
Loading…
x
Reference in New Issue
Block a user