aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/http/http-error-codes.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-12-28 15:30:36 +0100
committerChocobozzz <me@florianbigard.com>2021-12-28 15:34:55 +0100
commitfba87e27c1cb6c679fff0d2c50be230f7e0c3e56 (patch)
treed7fe489c57056a8c1cba3d199a90053ff547f4ad /shared/models/http/http-error-codes.ts
parent81d02aac56d76227c094d40b17b29875d88417f4 (diff)
downloadPeerTube-fba87e27c1cb6c679fff0d2c50be230f7e0c3e56.tar.gz
PeerTube-fba87e27c1cb6c679fff0d2c50be230f7e0c3e56.tar.zst
PeerTube-fba87e27c1cb6c679fff0d2c50be230f7e0c3e56.zip
Resolve enums at compile time
Diffstat (limited to 'shared/models/http/http-error-codes.ts')
-rw-r--r--shared/models/http/http-error-codes.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/models/http/http-error-codes.ts b/shared/models/http/http-error-codes.ts
index b2fbdfc5a..5ebff1cb5 100644
--- a/shared/models/http/http-error-codes.ts
+++ b/shared/models/http/http-error-codes.ts
@@ -4,7 +4,7 @@
4 * 4 *
5 * WebDAV and other codes useless with regards to PeerTube are not listed. 5 * WebDAV and other codes useless with regards to PeerTube are not listed.
6 */ 6 */
7export enum HttpStatusCode { 7export const enum HttpStatusCode {
8 8
9 /** 9 /**
10 * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.2.1 10 * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.2.1