Skip to content

Commit

Permalink
chore: minor fix
Browse files Browse the repository at this point in the history
Signed-off-by: Rajiv Harlalka <rajivharlalka009@gmail.com>
  • Loading branch information
rajivharlalka committed Oct 8, 2024
1 parent 1e26125 commit eedeea6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ func HandleDeletePaper(w http.ResponseWriter, r *http.Request) {
return
}
var requestBody struct {
Id int `json:"id"`
Id int
}
decoder := json.NewDecoder(r.Body)
if err := decoder.Decode(&requestBody); err != nil {
Expand Down

0 comments on commit eedeea6

Please sign in to comment.