mirror of
https://github.com/bitwarden/server.git
synced 2025-07-02 00:22:50 -05:00
Fix typo: 'CreateIntialInvite' -> 'CreateInitialInvite'
This commit is contained in:
@ -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);
|
||||||
}
|
}
|
||||||
|
@ -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>
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user