Merge remote-tracking branch 'origin/main' into devin/1793408183-goods-47-admin-api-tests

This commit is contained in:
z8jd98
2026-10-31 01:39:51 +00:00
35 changed files with 1337 additions and 141 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ func (h *Handler) ImportBypos(w http.ResponseWriter, r *http.Request) {
}
result, err := h.store.ImportByposRecords(r.Context(), records)
if err != nil {
writeError(w, http.StatusInternalServerError, "import_error", err.Error())
internalError(w, r, err)
return
}
writeJSON(w, http.StatusOK, result)