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
+2 -2
View File
@@ -33,7 +33,7 @@ func (h *AuthHandler) CreateSession(w http.ResponseWriter, r *http.Request) {
return
}
if err != nil {
httpx.WriteInternal(w, requestID)
httpx.WriteInternalError(w, requestID)
return
}
@@ -65,7 +65,7 @@ func (h *AuthHandler) RevokeSession(w http.ResponseWriter, r *http.Request) {
return
}
if err != nil {
httpx.WriteInternal(w, requestID)
httpx.WriteInternalError(w, requestID)
return
}