refactor(httpx): rename WriteInternal to WriteInternalError

This commit is contained in:
kk10
2026-10-05 11:57:31 +03:00
parent a8525778a3
commit 86f4aadead
5 changed files with 10 additions and 10 deletions
+3 -3
View File
@@ -71,7 +71,7 @@ func (h *ChatHandler) Create(w http.ResponseWriter, r *http.Request) {
)
return
case err != nil:
httpx.WriteInternal(w, requestID)
httpx.WriteInternalError(w, requestID)
return
}
@@ -106,7 +106,7 @@ func (h *ChatHandler) Get(w http.ResponseWriter, r *http.Request) {
)
return
case err != nil:
httpx.WriteInternal(w, requestID)
httpx.WriteInternalError(w, requestID)
return
}
@@ -134,7 +134,7 @@ func (h *ChatHandler) List(w http.ResponseWriter, r *http.Request) {
)
return
case err != nil:
httpx.WriteInternal(w, requestID)
httpx.WriteInternalError(w, requestID)
return
}