remove error check that shouldn't be there

This commit is contained in:
Aaron Bieber 2022-12-24 08:26:19 -07:00
parent 27bafbdd89
commit 22a7ff7b2d
No known key found for this signature in database
2 changed files with 1 additions and 6 deletions

View File

@ -19,7 +19,7 @@
in { in {
gostart = pkgs.buildGoModule { gostart = pkgs.buildGoModule {
pname = "gostart"; pname = "gostart";
version = "v0.1.7"; version = "v0.1.8";
src = ./.; src = ./.;
vendorSha256 = vendorSha256 =

View File

@ -74,11 +74,6 @@ func iconGET(w http.ResponseWriter, r *http.Request) {
} }
icon, err := app.queries.GetIconByLinkID(ctx, int64(linkID)) icon, err := app.queries.GetIconByLinkID(ctx, int64(linkID))
if err != nil {
http.Error(w, err.Error(), http.StatusInternalServerError)
return
}
if err != nil { if err != nil {
size := 24 size := 24
img := image.NewRGBA(image.Rect(0, 0, size, size)) img := image.NewRGBA(image.Rect(0, 0, size, size))