Skip to content

Commit

Permalink
fix log.printf
Browse files Browse the repository at this point in the history
  • Loading branch information
leneffets committed Nov 15, 2024
1 parent 638d177 commit 20c6b6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ func main() {
}

w.WriteHeader(http.StatusOK)
log.Printf(w, "File uploaded successfully")
log.Printf("File uploaded successfully to bucket %s with key %s", bucket, key)
} else {
http.Error(w, "Invalid method", http.StatusMethodNotAllowed)
}
Expand Down

0 comments on commit 20c6b6d

Please sign in to comment.