Skip to content

Commit

Permalink
refactor: sync with origin
Browse files Browse the repository at this point in the history
  • Loading branch information
govi218 committed Feb 7, 2023
1 parent 0219687 commit 90e52f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion router/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ func deleteFile(ctx *gin.Context, s store.P2PStore) {
func deleteAll(ctx *gin.Context, s store.P2PStore) {
err := s.DeleteAll(ctx)
if err != nil {
ctx.JSON(http.StatusInternalServerError, util.ResponseError{
ctx.JSON(http.StatusInternalServerError, ResponseError{
Error: err.Error(),
})
return
Expand Down

0 comments on commit 90e52f0

Please sign in to comment.