mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-12 06:29:02 +08:00
chore: fix error message typo on update log field api (#5660)
This commit is contained in:
parent
f031845300
commit
52199361d5
@ -2810,7 +2810,7 @@ func (aH *APIHandler) logFieldUpdate(w http.ResponseWriter, r *http.Request) {
|
|||||||
|
|
||||||
apiErr := aH.reader.UpdateLogField(r.Context(), &field)
|
apiErr := aH.reader.UpdateLogField(r.Context(), &field)
|
||||||
if apiErr != nil {
|
if apiErr != nil {
|
||||||
RespondError(w, apiErr, "Failed to update filed in the DB")
|
RespondError(w, apiErr, "Failed to update field in the DB")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
aH.WriteJSON(w, r, field)
|
aH.WriteJSON(w, r, field)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user