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 | 53a0483ef11cce939b1df2f288563c888a1d0567 (patch) | |
tree | e998f8cdaf38ccd2c4725b16386f56b7162d7942 /Timeline.ErrorCodes/ErrorCodes.cs | |
parent | 5d467d950fd4078146709470084cbfae331b8b10 (diff) | |
download | timeline-53a0483ef11cce939b1df2f288563c888a1d0567.tar.gz timeline-53a0483ef11cce939b1df2f288563c888a1d0567.tar.bz2 timeline-53a0483ef11cce939b1df2f288563c888a1d0567.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
{
|