mirror of
https://github.com/bitwarden/server.git
synced 2025-07-04 01:22:50 -05:00
[EC-338] Update SCIM code naming conventions (revoked/restore) (#2140)
* Keep old endpoints but mark as deprecated * Do not change existing sproc naming
This commit is contained in:
@ -406,7 +406,7 @@ namespace Bit.Infrastructure.Dapper.Repositories
|
||||
}
|
||||
}
|
||||
|
||||
public async Task DeactivateAsync(Guid id)
|
||||
public async Task RevokeAsync(Guid id)
|
||||
{
|
||||
using (var connection = new SqlConnection(ConnectionString))
|
||||
{
|
||||
@ -417,7 +417,7 @@ namespace Bit.Infrastructure.Dapper.Repositories
|
||||
}
|
||||
}
|
||||
|
||||
public async Task ActivateAsync(Guid id, OrganizationUserStatusType status)
|
||||
public async Task RestoreAsync(Guid id, OrganizationUserStatusType status)
|
||||
{
|
||||
using (var connection = new SqlConnection(ConnectionString))
|
||||
{
|
||||
|
Reference in New Issue
Block a user