Fix 403 errors #12

Merged
piair merged 5 commits from backend-test into main 2025-05-07 11:08:57 +02:00
Showing only changes of commit c76e83f2bf - Show all commits

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>