mirror of
https://github.com/grafana/grafana.git
synced 2026-07-29 15:59:50 -05:00
Fixed png rending
This commit is contained in:
@@ -15,7 +15,7 @@ func authGetRequestAccountId(c *Context, sess session.Store) (int64, error) {
|
||||
|
||||
urlQuery := c.Req.URL.Query()
|
||||
if len(urlQuery["render"]) > 0 {
|
||||
accId, _ := strconv.Atoi(urlQuery["accountId"][0])
|
||||
accId, _ := strconv.ParseInt(urlQuery["accountId"][0], 10, 64)
|
||||
sess.Set("accountId", accId)
|
||||
accountId = accId
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user