Web:Common:API: fix invitation links

This commit is contained in:
Timofey Boyko 2023-02-28 10:18:57 +03:00
parent 56d778dd39
commit cd67d8fef1

View File

@ -35,7 +35,7 @@ export function getInvitationLink(type) {
method: "get",
url: `/portal/users/invite/${type}.json`,
}).then((link) => {
if (type !== 3) {
if (type !== 3 && type !== 4) {
localStorage.setItem(
type === 2 ? GUEST_INVITE_LINK : USER_INVITE_LINK,
link