mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
more global config ref cleanup (#7802)
This commit is contained in:
@@ -201,7 +201,7 @@ func getFileLink(c *Context, w http.ResponseWriter, r *http.Request) {
|
||||
}
|
||||
|
||||
resp := make(map[string]string)
|
||||
resp["link"] = app.GeneratePublicLink(c.GetSiteURLHeader(), info)
|
||||
resp["link"] = c.App.GeneratePublicLink(c.GetSiteURLHeader(), info)
|
||||
|
||||
w.Write([]byte(model.MapToJson(resp)))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user