oh-my-adhd 0.2.23 → 0.2.24
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.
|
@@ -122,8 +122,11 @@ export function registerWikiImport(server) {
|
|
|
122
122
|
await fs.rename(tmp, threadFile);
|
|
123
123
|
}
|
|
124
124
|
// Project only allowed ThreadMeta fields — no arbitrary spread
|
|
125
|
-
const meta = {
|
|
126
|
-
|
|
125
|
+
const meta = {
|
|
126
|
+
id,
|
|
127
|
+
title,
|
|
128
|
+
updatedAt: typeof thread.updatedAt === "string" ? thread.updatedAt : new Date().toISOString(),
|
|
129
|
+
};
|
|
127
130
|
if (typeof thread.is_open === "boolean")
|
|
128
131
|
meta.is_open = thread.is_open;
|
|
129
132
|
if (typeof thread.is_done === "boolean")
|
package/package.json
CHANGED