refactor(httpx): rename WriteInternal to WriteInternalError
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user