fix lint issue

This commit is contained in:
6543 2022-11-08 00:06:10 +01:00
parent 7c45a420e4
commit 026ef06afe
No known key found for this signature in database
GPG key ID: B8BE6D610E61C862

View file

@ -44,7 +44,7 @@ func (f FileResponse) IsEmpty() bool {
func (f FileResponse) createHttpResponse() (http.Header, int) {
header := make(http.Header)
statusCode := http.StatusInternalServerError
var statusCode int
if f.Exists {
statusCode = http.StatusOK