commit f1d4f38e8441c3459a62c2846d532d9dbdf31de2
parent 05c5668acfd9653b20d6735dce6135f2528599d5
Author: n0tr1v <n0tr1v@protonmail.com>
Date: Wed, 31 May 2023 03:05:16 -0700
fmt
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/pkg/web/handlers/api/v1/chess.go b/pkg/web/handlers/api/v1/chess.go
@@ -106,7 +106,6 @@ func renderBoardPng(last *chess.Move, position *chess.Position, isFlipped bool)
sqPiece := boardMap[sq]
renderSquare(ctx, sq, last, position.Turn(), sqPiece, isFlipped)
}
-
return ctx.Image()
}