mirror of
https://github.com/bitwarden/server
synced 2025-12-25 12:43:14 +00:00
Enable disabled provider on successful update payment method invocation (#6129)
This commit is contained in:
@@ -28,4 +28,10 @@ public class BillingCommandResult<T> : OneOfBase<T, BadRequest, Conflict, Unhand
|
||||
public static implicit operator BillingCommandResult<T>(BadRequest badRequest) => new(badRequest);
|
||||
public static implicit operator BillingCommandResult<T>(Conflict conflict) => new(conflict);
|
||||
public static implicit operator BillingCommandResult<T>(Unhandled unhandled) => new(unhandled);
|
||||
|
||||
public Task TapAsync(Func<T, Task> f) => Match(
|
||||
f,
|
||||
_ => Task.CompletedTask,
|
||||
_ => Task.CompletedTask,
|
||||
_ => Task.CompletedTask);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user