mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-08 01:45:28 +00:00
url removed from res
This commit is contained in:
@@ -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) =>
|
||||||
|
|||||||
Reference in New Issue
Block a user