feat: applied auth wirth session token on dart backend
This commit is contained in:
@@ -14,8 +14,8 @@ extension TaskEitherResponseExtensions
|
||||
|
||||
extension TaskEitherResponseExtensionsFromString on TaskEither<IError, String> {
|
||||
Task<Response> toResponse() => match(
|
||||
(left) => ResponseHelpers.fromError(left),
|
||||
(right) => Response.ok(right),
|
||||
ResponseHelpers.fromError,
|
||||
Response.ok,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user