ok
This commit is contained in:
@@ -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,
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user