Update multi-user invite endpoint
This commit is contained in:
parent
b60a1ad7b0
commit
115ef53f82
|
@ -145,7 +145,7 @@ export const buildUserEndpoints = API => ({
|
|||
*/
|
||||
inviteUsers: async users => {
|
||||
return await API.post({
|
||||
url: "/api/global/users/inviteMultiple",
|
||||
url: "/api/global/users/multi/invite",
|
||||
body: users.map(user => ({
|
||||
email: user.email,
|
||||
userInfo: {
|
||||
|
|
|
@ -81,7 +81,7 @@ router
|
|||
controller.invite
|
||||
)
|
||||
.post(
|
||||
"/api/global/users/inviteMultiple",
|
||||
"/api/global/users/multi/invite",
|
||||
adminOnly,
|
||||
buildInviteMultipleValidation(),
|
||||
controller.inviteMultiple
|
||||
|
|
Loading…
Reference in New Issue