Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
stremovsky committed Nov 29, 2024
1 parent f81889c commit 05b4887
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/userapps_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ func (e mainEnv) userappNew(w http.ResponseWriter, r *http.Request, ps httproute
appName := strings.ToLower(ps.ByName("appname"))
identity := ps.ByName("identity")
mode := ps.ByName("mode")
event := auditApp("create user app record by"+mode, identity, appName, mode, identity)
event := auditApp("create user app record by "+mode, identity, appName, mode, identity)
defer func() { event.submit(e.db, e.conf) }()

userTOKEN := e.loadUserToken(w, r, mode, identity, event)
Expand Down Expand Up @@ -59,7 +59,7 @@ func (e mainEnv) userappChange(w http.ResponseWriter, r *http.Request, ps httpro
appName := strings.ToLower(ps.ByName("appname"))
identity := ps.ByName("identity")
mode := ps.ByName("mode")
event := auditApp("change user app record by"+mode, identity, appName, mode, identity)
event := auditApp("change user app record by "+mode, identity, appName, mode, identity)
defer func() { event.submit(e.db, e.conf) }()
userTOKEN := e.loadUserToken(w, r, mode, identity, event)
if userTOKEN == "" {
Expand Down

0 comments on commit 05b4887

Please sign in to comment.