remove error check that shouldn't be there
This commit is contained in:
parent
27bafbdd89
commit
22a7ff7b2d
@ -19,7 +19,7 @@
|
||||
in {
|
||||
gostart = pkgs.buildGoModule {
|
||||
pname = "gostart";
|
||||
version = "v0.1.7";
|
||||
version = "v0.1.8";
|
||||
src = ./.;
|
||||
|
||||
vendorSha256 =
|
||||
|
@ -74,11 +74,6 @@ func iconGET(w http.ResponseWriter, r *http.Request) {
|
||||
}
|
||||
|
||||
icon, err := app.queries.GetIconByLinkID(ctx, int64(linkID))
|
||||
if err != nil {
|
||||
http.Error(w, err.Error(), http.StatusInternalServerError)
|
||||
return
|
||||
}
|
||||
|
||||
if err != nil {
|
||||
size := 24
|
||||
img := image.NewRGBA(image.Rect(0, 0, size, size))
|
||||
|
Loading…
Reference in New Issue
Block a user