-
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Added constants file - Added api version to metadata on api responses - Fixed bug that some routes raised an exception when date and datetime columns where set in the database and not properly parsed before JSON Response
- Loading branch information
1 parent
51ec61c
commit d197c6a
Showing
6 changed files
with
184 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Constant related to version | ||
API_VERSION="v0.1.2" | ||
|
||
# Constants related to user access types | ||
ADMIN_ACCESS = 2 | ||
REGULAR_ACCESS = 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.