Fixing typing.
This commit is contained in:
parent
144ff1da44
commit
4dc24b7559
|
@ -7,7 +7,7 @@ import {
|
||||||
InviteUserRequest,
|
InviteUserRequest,
|
||||||
InviteUsersRequest,
|
InviteUsersRequest,
|
||||||
User,
|
User,
|
||||||
groupUser,
|
GroupUser,
|
||||||
UserGroup,
|
UserGroup,
|
||||||
} from "@budibase/types"
|
} from "@budibase/types"
|
||||||
import {
|
import {
|
||||||
|
@ -247,7 +247,7 @@ export const inviteAccept = async (ctx: any) => {
|
||||||
// group was probably deleted
|
// group was probably deleted
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
const groupUser: groupUser = { _id: saved._id, email: saved.email }
|
const groupUser: GroupUser = { _id: saved._id, email: saved.email }
|
||||||
await groupUtils.bulkSaveGroupUsers(groups, [groupUser])
|
await groupUtils.bulkSaveGroupUsers(groups, [groupUser])
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue