1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-01 16:12:49 -05:00

Fix typo: 'CreateIntialInvite' -> 'CreateInitialInvite'

This commit is contained in:
Jim Hays
2023-04-24 16:49:43 -04:00
parent 7dcfe29979
commit e9a587821d
2 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,7 @@ public class ProviderUsersController : Controller
throw new NotFoundException(); throw new NotFoundException();
} }
var invite = ProviderUserInviteFactory.CreateIntialInvite(model.Emails, model.Type.Value, var invite = ProviderUserInviteFactory.CreateInitialInvite(model.Emails, model.Type.Value,
_userService.GetProperUserId(User).Value, providerId); _userService.GetProperUserId(User).Value, providerId);
await _providerService.InviteUserAsync(invite); await _providerService.InviteUserAsync(invite);
} }

View File

@ -12,7 +12,7 @@ public class ProviderUserInvite<T>
public static class ProviderUserInviteFactory public static class ProviderUserInviteFactory
{ {
public static ProviderUserInvite<string> CreateIntialInvite(IEnumerable<string> inviteeEmails, ProviderUserType type, Guid invitingUserId, Guid providerId) public static ProviderUserInvite<string> CreateInitialInvite(IEnumerable<string> inviteeEmails, ProviderUserType type, Guid invitingUserId, Guid providerId)
{ {
return new ProviderUserInvite<string> return new ProviderUserInvite<string>
{ {