aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Controllers/TokenController.cs
diff options
context:
space:
mode:
author杨宇千 <crupest@outlook.com>2019-08-04 15:02:58 +0800
committer杨宇千 <crupest@outlook.com>2019-08-04 15:02:58 +0800
commita17aa8770b0b4861849c6e01812b2ff686497f02 (patch)
tree6d1afc3dbe3b91122a1c95ace2aafee76967e230 /Timeline/Controllers/TokenController.cs
parentc1586e28e44835b3636fb63e31f613de4a30bc1e (diff)
downloadtimeline-a17aa8770b0b4861849c6e01812b2ff686497f02.tar.gz
timeline-a17aa8770b0b4861849c6e01812b2ff686497f02.tar.bz2
timeline-a17aa8770b0b4861849c6e01812b2ff686497f02.zip
Add unit tests for token.
Diffstat (limited to 'Timeline/Controllers/TokenController.cs')
-rw-r--r--Timeline/Controllers/TokenController.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Timeline/Controllers/TokenController.cs b/Timeline/Controllers/TokenController.cs
index f9dcfd76..66cf3dad 100644
--- a/Timeline/Controllers/TokenController.cs
+++ b/Timeline/Controllers/TokenController.cs
@@ -20,7 +20,7 @@ namespace Timeline.Controllers
public const int VerifyFailed = 2001;
}
- private static class ErrorCodes
+ public static class ErrorCodes
{
public const int Create_UserNotExist = -1001;
public const int Create_BadPassword = -1002;