Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a764fe2

Browse files
committed
bugfix
1 parent fba3383 commit a764fe2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/http/http.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ func executeTpl(ctx echo.Context, tpl *template.Template, data map[string]interf
212212
if ok {
213213
data["me"] = curUser
214214
} else {
215-
data["me"] = map[string]interface{}{}
215+
data["me"] = nil
216216
}
217217

218218
// websocket主机

0 commit comments

Comments
 (0)