Merge pull request #16 from archem-team/bug/url-invite

url removed from res
This commit is contained in:
teamabron
2025-01-19 13:01:35 +03:30
committed by GitHub

View File

@@ -46,7 +46,6 @@ export default function CreateInvite({
target target
.createInvite() .createInvite()
.then((res) => { .then((res) => {
setUrl(res.url || "default_url");
setCode(res._id || "default_code"); setCode(res._id || "default_code");
}) })
.catch((err) => .catch((err) =>