feat: changed endpoints
Some checks failed
Format / formatting (push) Successful in 6s
Build / build (push) Successful in 41s
CI / build (push) Failing after 8s

This commit is contained in:
Pierre Tellier 2025-05-07 11:00:15 +02:00
parent 1f0f9196c4
commit c76e83f2bf

View File

@ -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>