MM-31063: Change constants to use CamelCase (#16608)
* MM-31063: Change constants to use CamelCase * store package * change allcaps to camel case (#16615) * New tools.mod Co-authored-by: Ibrahim Serdar Acikgoz <serdaracikgoz86@gmail.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
8b6ac5f5d2
Коммит
c1dd23a3c8
@@ -105,7 +105,7 @@ func manualTest(c *web.Context, w http.ResponseWriter, r *http.Request) {
|
||||
user := &model.User{
|
||||
Email: "success+" + model.NewId() + "simulator.amazonses.com",
|
||||
Nickname: username[0],
|
||||
Password: slashcommands.USER_PASSWORD}
|
||||
Password: slashcommands.UserPassword}
|
||||
|
||||
user, resp := client.CreateUser(user)
|
||||
if resp.Error != nil {
|
||||
@@ -119,7 +119,7 @@ func manualTest(c *web.Context, w http.ResponseWriter, r *http.Request) {
|
||||
userID = user.Id
|
||||
|
||||
// Login as user to generate auth token
|
||||
_, resp = client.LoginById(user.Id, slashcommands.USER_PASSWORD)
|
||||
_, resp = client.LoginById(user.Id, slashcommands.UserPassword)
|
||||
if resp.Error != nil {
|
||||
c.Err = resp.Error
|
||||
return
|
||||
|
||||
Ссылка в новой задаче
Block a user