chaged ports accordingly
This commit is contained in:
@@ -196,9 +196,8 @@ export const handleEditItems = async (
|
|||||||
export const changeSafeState = async (itemId: number) => {
|
export const changeSafeState = async (itemId: number) => {
|
||||||
try {
|
try {
|
||||||
const response = await fetch(
|
const response = await fetch(
|
||||||
`http://localhost:8002/api/changeSafeState/${itemId}`,
|
`https://backend.insta.the1s.de/api/changeSafeState/${itemId}`,
|
||||||
{
|
{
|
||||||
method: "PUT",
|
|
||||||
headers: {
|
headers: {
|
||||||
Authorization: `Bearer ${Cookies.get("token")}`,
|
Authorization: `Bearer ${Cookies.get("token")}`,
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user