1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2025-11-06 02:23:02 +00:00

Housekeeping with linter

'I do as the golint guides'
This commit is contained in:
Mikhail Chekan
2021-10-02 01:12:16 +08:00
parent 7ecc7b526e
commit 85c936d94a
29 changed files with 139 additions and 85 deletions

View File

@@ -143,7 +143,7 @@ func handlerTelegramLogin(w http.ResponseWriter, rq *http.Request) {
false,
)
)
if user.HasUsername(username) && user.UserByName(username).Source == "telegram" {
if user.HasUsername(username) && user.ByName(username).Source == "telegram" {
// Problems is something we put blankets on.
err = nil
}