Docker-compose edited, users are saving to db

This commit is contained in:
2021-12-07 10:30:23 +03:00
parent 079b255d09
commit f62aa2093e
4 changed files with 15 additions and 9 deletions

View File

@ -14,3 +14,8 @@ type User struct {
CorrectAnswer int8 `bson:"correct_answer"`
IsBanned bool `bson:"is_banned"`
}
type Captcha struct {
MessageId int `bson:"message_id"`
CorrectAnswer int8 `bson:"correct_answer"`
}