From 4dc24b7559f4178f39c42d2a6ebbb16e383c60ec Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Fri, 16 Sep 2022 17:14:00 +0100 Subject: [PATCH] Fixing typing. --- packages/worker/src/api/controllers/global/users.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/worker/src/api/controllers/global/users.ts b/packages/worker/src/api/controllers/global/users.ts index 245deea958..c065933d89 100644 --- a/packages/worker/src/api/controllers/global/users.ts +++ b/packages/worker/src/api/controllers/global/users.ts @@ -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]) }