diff options
author | Florian Dold <florian.dold@gmail.com> | 2019-12-15 19:04:14 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2019-12-15 19:04:14 +0100 |
commit | 857c0ab4cd2253a0e1d53e3372a1ff1565cb4150 (patch) | |
tree | 1284cef3d992ce767baee0a4788214b7f474a3ba /src/util | |
parent | 7cc3b10824683c601a9051ef98e7c1478a801db8 (diff) | |
download | wallet-core-857c0ab4cd2253a0e1d53e3372a1ff1565cb4150.tar.xz |
introduce refund groups, react correctly to 410 Gone for /refund
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/http.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/util/http.ts b/src/util/http.ts index 79039f516..93c748d79 100644 --- a/src/util/http.ts +++ b/src/util/http.ts @@ -33,6 +33,11 @@ export interface HttpRequestOptions { headers?: { [name: string]: string }; } +export enum HttpResponseStatus { + Ok = 200, + Gone = 210, +} + /** * Headers, roughly modeled after the fetch API's headers object. */ |