-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
here is the problem. In the chat engine, my admin username is the seller. Created a new user. The new user's email is [email protected]. When I registered for this email user, the admin user was automatically changed.
function getorCreateChat(callback) {
axios
.put(
"https://api.chatengine.io/chats/", {
usernames: ["seller", username || localStorage.getItem("email")],
title: "Chatting",
is_direct_chat: true,
}, {
headers: {
"PRIVATE-KEY": process.env.REACT_APP_PRIVATE_KEY
}
}
)
.then((r) => callback(r.data));
}
Metadata
Metadata
Assignees
Labels
No labels