aboutsummaryrefslogtreecommitdiff
path: root/server/ui/controller/proxy.go
diff options
context:
space:
mode:
Diffstat (limited to 'server/ui/controller/proxy.go')
-rw-r--r--server/ui/controller/proxy.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/ui/controller/proxy.go b/server/ui/controller/proxy.go
index 8a2f2bfa..95e039a4 100644
--- a/server/ui/controller/proxy.go
+++ b/server/ui/controller/proxy.go
@@ -16,7 +16,7 @@ import (
)
func (c *Controller) ImageProxy(ctx *core.Context, request *core.Request, response *core.Response) {
- encodedURL := request.GetStringParam("encodedURL", "")
+ encodedURL := request.StringParam("encodedURL", "")
if encodedURL == "" {
response.Html().BadRequest(errors.New("No URL provided"))
return