mirror of
https://github.com/bitwarden/server.git
synced 2025-04-05 05:00:19 -05:00
changes from main
This commit is contained in:
parent
88923b5e6e
commit
9378acbd0d
@ -56,7 +56,7 @@ public class InviteOrganizationUsersCommand(IEventService eventService,
|
||||
|
||||
return new Success<ScimInviteOrganizationUsersResponse>(new ScimInviteOrganizationUsersResponse
|
||||
{
|
||||
InvitedUser = result.Value.FirstOrDefault()
|
||||
InvitedUser = user
|
||||
});
|
||||
|
||||
default:
|
||||
|
@ -32,10 +32,10 @@ public abstract class CommandResult<T> { }
|
||||
|
||||
public class Success<T>(T value) : CommandResult<T>
|
||||
{
|
||||
public T? Value { get; } = value;
|
||||
public T Value { get; } = value;
|
||||
}
|
||||
|
||||
public class Failure<T>(IEnumerable<string> errorMessage) : CommandResult<T>
|
||||
public class Failure<T>(IEnumerable<string> errorMessages) : CommandResult<T>
|
||||
{
|
||||
public List<string> ErrorMessages { get; } = [];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user