Delete useless {credentials: "same-origin"}
This commit is contained in:
parent
f229a4ae7e
commit
e82b581e37
|
@ -18,7 +18,7 @@
|
|||
});
|
||||
|
||||
async function fetchCards() {
|
||||
const result = await fetch("/api/card/all", { credentials: "same-origin" });
|
||||
const result = await fetch("/api/card/all");
|
||||
if (!result.ok) {
|
||||
const obj = await result.json();
|
||||
error = obj.message;
|
||||
|
|
Loading…
Reference in New Issue
Block a user