mirror of
https://github.com/morbalint/kemkas.git
synced 2026-07-18 03:13:46 +00:00
kinda works, but wasteful and misinforming :(
This commit is contained in:
@@ -2,7 +2,7 @@ import {KarakterInputs} from "../domain-models/karakter";
|
||||
import axios from "axios";
|
||||
|
||||
export async function StoreNewCharacter(karakter: KarakterInputs) {
|
||||
let response = await axios.post(`${window.location.origin}/Character/`, karakter, {
|
||||
let response = await axios.post(`${window.location.origin}/api/Character/`, karakter, {
|
||||
withCredentials: true,
|
||||
})
|
||||
if (response.status < 300){
|
||||
|
||||
Reference in New Issue
Block a user