forked from tangled.org/core
Monorepo for Tangled

Compare changes

Choose any two refs to compare.

Changed files
+1
appview
notifications
+1
appview/notifications/notifications.go
··· 92 func (n *Notifications) getUnreadCount(w http.ResponseWriter, r *http.Request) { 93 user := n.oauth.GetUser(r) 94 if user == nil { 95 return 96 } 97
··· 92 func (n *Notifications) getUnreadCount(w http.ResponseWriter, r *http.Request) { 93 user := n.oauth.GetUser(r) 94 if user == nil { 95 + http.Error(w, "Forbidden", http.StatusUnauthorized) 96 return 97 } 98