refactor(httpx): rename WriteInternal to WriteInternalError
This commit is contained in:
@@ -65,7 +65,7 @@ func (h *MessageHandler) Create(w http.ResponseWriter, r *http.Request) {
|
||||
)
|
||||
return
|
||||
case err != nil:
|
||||
httpx.WriteInternal(w, requestID)
|
||||
httpx.WriteInternalError(w, requestID)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -114,7 +114,7 @@ func (h *MessageHandler) List(w http.ResponseWriter, r *http.Request) {
|
||||
)
|
||||
return
|
||||
case err != nil:
|
||||
httpx.WriteInternal(w, requestID)
|
||||
httpx.WriteInternalError(w, requestID)
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user