@odla-ai/chapter 0.58.0 → 0.58.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -0
- package/dist/worker/index.cjs +1 -1
- package/dist/worker/index.cjs.map +1 -1
- package/dist/worker/index.js +1 -1
- package/dist/worker/index.js.map +1 -1
- package/package.json +1 -1
package/dist/worker/index.js
CHANGED
|
@@ -11089,7 +11089,7 @@ var handleAdminScheduling = async (req, url, env, ctx) => {
|
|
|
11089
11089
|
const checked = validateScheduling({ ...stored, ...body });
|
|
11090
11090
|
if (!checked.ok) return json({ error: "invalid scheduling config", errors: checked.errors }, 400);
|
|
11091
11091
|
try {
|
|
11092
|
-
await db.transact([{ t: "update", ns: "groups", id: String(group.id), attrs: { schedulingJson: checked.value } }]);
|
|
11092
|
+
await db.transact([{ t: "update", ns: "groups", id: { ns: "groups", attr: "id", value: String(group.id) }, attrs: { schedulingJson: checked.value } }]);
|
|
11093
11093
|
} catch (error) {
|
|
11094
11094
|
const code = error.code;
|
|
11095
11095
|
console.error("admin_scheduling_write_failed", { code: typeof code === "string" ? code : "unknown" });
|