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