Check error getAppInfo
This commit is contained in:
parent
dae386ef87
commit
0429821c08
|
@ -437,6 +437,9 @@ func (h *mainHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
|||
page.Channels, err = h.Backend.ChannelsGetList()
|
||||
|
||||
app, err := getAppInfo(clientID)
|
||||
if err != nil {
|
||||
log.Println(err)
|
||||
}
|
||||
page.App = app
|
||||
|
||||
err = h.Templates.ExecuteTemplate(w, "auth.html", page)
|
||||
|
|
Loading…
Reference in New Issue
Block a user