diff options
author | Sebastian <sebasjm@gmail.com> | 2024-03-08 10:08:15 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2024-03-08 10:08:15 -0300 |
commit | b3ae213bc5987fbb6a2ce5c08d626f9f65508b03 (patch) | |
tree | 01b264fe249d92803d2f5224a621c15a5ff9b1fe /packages/taler-util/src/http-client/authentication.ts | |
parent | 2a4dbc67e8d1e6a256431e34f0b2e0e19d204f70 (diff) | |
download | wallet-core-b3ae213bc5987fbb6a2ce5c08d626f9f65508b03.tar.gz wallet-core-b3ae213bc5987fbb6a2ce5c08d626f9f65508b03.tar.bz2 wallet-core-b3ae213bc5987fbb6a2ce5c08d626f9f65508b03.zip |
remove http resp from operation
Diffstat (limited to 'packages/taler-util/src/http-client/authentication.ts')
-rw-r--r-- | packages/taler-util/src/http-client/authentication.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/taler-util/src/http-client/authentication.ts b/packages/taler-util/src/http-client/authentication.ts index b17ede458..e8ef6a274 100644 --- a/packages/taler-util/src/http-client/authentication.ts +++ b/packages/taler-util/src/http-client/authentication.ts @@ -27,7 +27,7 @@ import { LibtoolVersion } from "../libtool-version.js"; import { opEmptySuccess, opKnownHttpFailure, - opSuccess, + opSuccessFromHttp, opUnknownFailure, } from "../operation.js"; import { @@ -74,7 +74,7 @@ export class TalerAuthenticationHttpClient { }); switch (resp.status) { case HttpStatusCode.Ok: - return opSuccess(resp, codecForTokenSuccessResponse()); + return opSuccessFromHttp(resp, codecForTokenSuccessResponse()); //FIXME: missing in docs case HttpStatusCode.Unauthorized: return opKnownHttpFailure(resp.status, resp); |