This commit is contained in:
Henrique Dias
2017-09-03 10:06:25 +01:00
parent 9a9b41dca8
commit 96a5226076
3 changed files with 2369 additions and 27 deletions

View File

@@ -44,6 +44,10 @@ func shareGetHandler(c *fm.Context, w http.ResponseWriter, r *http.Request) (int
}
}
if len(s) == 0 {
return http.StatusNotFound, nil
}
return renderJSON(w, s)
}