Fixing typing.
This commit is contained in:
parent
144ff1da44
commit
4dc24b7559
|
@ -7,7 +7,7 @@ import {
|
|||
InviteUserRequest,
|
||||
InviteUsersRequest,
|
||||
User,
|
||||
groupUser,
|
||||
GroupUser,
|
||||
UserGroup,
|
||||
} from "@budibase/types"
|
||||
import {
|
||||
|
@ -247,7 +247,7 @@ export const inviteAccept = async (ctx: any) => {
|
|||
// 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])
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue