chore: remove repetitive words

Signed-off-by: occupyhabit <wangmengjiao@outlook.com>
This commit is contained in:
occupyhabit
2024-03-23 22:10:57 +08:00
committed by Ashutosh Narkar
parent 143a8e6ac9
commit d6c8c1b51b
7 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ func ErrorAuto(w http.ResponseWriter, err error) {
}
// ErrorString writes a response with specified status, code, and message set to
// the the err's string representation.
// the err's string representation.
func ErrorString(w http.ResponseWriter, status int, code string, err error) {
Error(w, status, types.NewErrorV1(code, err.Error()))
}