This commit is contained in:
zadit
2024-10-22 16:05:30 +07:00
parent e2522bd91c
commit 1ecc6db645
17 changed files with 320 additions and 137 deletions

View File

@@ -253,7 +253,7 @@ export const deleteCafeOwner = async (shopId, email, username, password) => {
}
};
export const createClerks = async (shopId, email, username, password) => {
export const createClerks = async (shopId, username, password) => {
const token = getLocalStorage("auth");
if (token) {
try {
@@ -266,7 +266,6 @@ export const createClerks = async (shopId, email, username, password) => {
Authorization: `Bearer ${token}`,
},
body: JSON.stringify({
email: email,
username: username,
password: password,
}),