forked from mtusi2026/mtusi2026lab2
refactor(httpx): rename WriteInternal to WriteInternalError
This commit is contained in:
@@ -23,7 +23,7 @@ func WriteError(w http.ResponseWriter, status int, code dto.ErrorCode, message,
|
||||
})
|
||||
}
|
||||
|
||||
func WriteInternal(w http.ResponseWriter, requestID string) {
|
||||
func WriteInternalError(w http.ResponseWriter, requestID string) {
|
||||
WriteError(
|
||||
w,
|
||||
http.StatusInternalServerError,
|
||||
|
||||
Reference in New Issue
Block a user