feat: validation on articles

This commit is contained in:
Florian Sylvain
2023-08-09 18:13:03 +02:00
parent 836847e9b2
commit 1d1adfdfc7
2 changed files with 14 additions and 3 deletions
+1
View File
@@ -23,6 +23,7 @@ type UserLogin struct {
var TokenAuth *jwtauth.JWTAuth
// TODO Move into its own file or package that handles api errors
const logsErrorMessage = "Access to the requested resource is forbidden due to incorrect password and/or username."
const bodyErrorMessage = "The request cannot be processed due to a mismatch in the format of the body."