changes in app and pgx
This commit is contained in:
parent
08a5e7fec6
commit
b9356ae0e1
12
app/app.go
12
app/app.go
@ -47,8 +47,9 @@ const (
|
||||
InvalidEntityID string = "invalid_entity_id"
|
||||
NotImplemented string = "not_implemented"
|
||||
NotPassValidation string = "not_pass_validation"
|
||||
NotEnoughBalance string = "not_enough_balance"
|
||||
|
||||
// User keys
|
||||
// User keys (DB)
|
||||
UserUsernameKey string = "username_key"
|
||||
UserEmailKey string = "email_key"
|
||||
UsernameAlreadyExists string = "username_already_exists"
|
||||
@ -56,9 +57,12 @@ const (
|
||||
EmailAlreadyExists string = "email_already_exists"
|
||||
PhoneNumberKey string = "phone_number_key"
|
||||
PhoneAlreadyExists string = "phone_already_exists"
|
||||
IncorrectPassword string = "incorrect_password"
|
||||
ErrorGeneratingToken string = "error_generating_token"
|
||||
LoggedIn string = "logged_in"
|
||||
|
||||
// Auth
|
||||
TokenPayload string = "token_payload"
|
||||
LoggedIn string = "logged_in"
|
||||
IncorrectPassword string = "incorrect_password"
|
||||
ErrorGeneratingToken string = "error_generating_token"
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
Loading…
Reference in New Issue
Block a user