From 9c1bf31ee66b6e9789a26ecd66a767fc477daa5d Mon Sep 17 00:00:00 2001 From: hamid zarghami Date: Mon, 22 Dec 2025 14:03:41 +0330 Subject: [PATCH] change icon url --- src/pages/icon/service/IconService.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/pages/icon/service/IconService.ts b/src/pages/icon/service/IconService.ts index c3ca213..f8a4bd0 100644 --- a/src/pages/icon/service/IconService.ts +++ b/src/pages/icon/service/IconService.ts @@ -7,31 +7,31 @@ import { } from "../types/Types"; export const getIcons = async (): Promise => { - const { data } = await axios.get("/admin/icons"); + const { data } = await axios.get("/admin/dmenu/icons"); return data; }; export const createGroupIcon = async (params: CreateGroupIconType) => { - const { data } = await axios.post("/admin/icons/groups", params); + const { data } = await axios.post("/admin/dmenu/icons/groups", params); return data; }; export const getGroupIcons = async (): Promise => { - const { data } = await axios.get("/admin/icons/groups"); + const { data } = await axios.get("/admin/dmenu/icons/groups"); return data; }; export const deleteGroupIcon = async (id: string) => { - const { data } = await axios.delete(`/admin/icons/groups/${id}`); + const { data } = await axios.delete(`/admin/dmenu/icons/groups/${id}`); return data; }; export const createIcon = async (params: CreateIconType) => { - const { data } = await axios.post("/admin/icons", params); + const { data } = await axios.post("/admin/dmenu/icons", params); return data; }; export const deleteIcon = async (id: string) => { - const { data } = await axios.delete(`/admin/icons/${id}`); + const { data } = await axios.delete(`/admin/dmenu/icons/${id}`); return data; };