From 90e52f0be35dffe35e52513f509a1ff825833e88 Mon Sep 17 00:00:00 2001 From: Govind Mohan Date: Tue, 7 Feb 2023 02:28:22 -0500 Subject: [PATCH] refactor: sync with origin --- router/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/router/api.go b/router/api.go index 0164217..7a060a7 100644 --- a/router/api.go +++ b/router/api.go @@ -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