diff options
author | crupest <crupest@outlook.com> | 2020-06-14 16:34:42 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-06-14 16:34:42 +0800 |
commit | 5e02abc95cc8419b378917d7053d63092046b2cf (patch) | |
tree | ace855832f1c4e88e9fed7b2b2c95fb5e06424f3 /Timeline.ErrorCodes/ErrorCodes.cs | |
parent | 4c6f4c214edc5b574951d4cc8f3654bc30efa8da (diff) | |
download | timeline-5e02abc95cc8419b378917d7053d63092046b2cf.tar.gz timeline-5e02abc95cc8419b378917d7053d63092046b2cf.tar.bz2 timeline-5e02abc95cc8419b378917d7053d63092046b2cf.zip |
Many many bugs fix.
1. Add a way to test front end with mock page.
2. Unknown api returns 400 but not frontend page.
3. Fix a big bug that cause all data loss in database migration.
Diffstat (limited to 'Timeline.ErrorCodes/ErrorCodes.cs')
-rw-r--r-- | Timeline.ErrorCodes/ErrorCodes.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Timeline.ErrorCodes/ErrorCodes.cs b/Timeline.ErrorCodes/ErrorCodes.cs index 0af36383..4637242a 100644 --- a/Timeline.ErrorCodes/ErrorCodes.cs +++ b/Timeline.ErrorCodes/ErrorCodes.cs @@ -12,6 +12,7 @@ {
public const int InvalidModel = 1_000_0001;
public const int Forbid = 1_000_0002;
+ public const int UnknownEndpoint = 1_000_0003;
public static class Header
{
|