Globally renamed property RedirectUrl
to LongUrl
This commit is contained in:
@ -23,7 +23,7 @@ func ExpandUrlHandler(svcCtx *svc.ServiceContext) http.HandlerFunc {
|
||||
if err != nil {
|
||||
httpx.Error(w, err)
|
||||
} else {
|
||||
http.Redirect(w, r, resp.RedirectUrl, http.StatusTemporaryRedirect)
|
||||
http.Redirect(w, r, resp.LongUrl, http.StatusTemporaryRedirect)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user