Fixing typing.

This commit is contained in:
mike12345567 2022-09-16 17:14:00 +01:00
parent 144ff1da44
commit 4dc24b7559
1 changed files with 2 additions and 2 deletions

View File

@ -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])
}