remove error check that shouldn't be there
This commit is contained in:
parent
27bafbdd89
commit
22a7ff7b2d
@ -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 =
|
||||||
|
@ -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))
|
||||||
|
Loading…
Reference in New Issue
Block a user