@vibetasks/core 0.5.1 → 0.5.3
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/dist/index.js +2 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -515,7 +515,8 @@ var TaskOperations = class _TaskOperations {
|
|
|
515
515
|
async completeTask(taskId) {
|
|
516
516
|
const { data, error } = await this.supabase.from("tasks").update({
|
|
517
517
|
completed: true,
|
|
518
|
-
completed_at: (/* @__PURE__ */ new Date()).toISOString()
|
|
518
|
+
completed_at: (/* @__PURE__ */ new Date()).toISOString(),
|
|
519
|
+
status: "done"
|
|
519
520
|
}).eq("id", taskId).select().single();
|
|
520
521
|
if (error) throw error;
|
|
521
522
|
return data;
|
package/package.json
CHANGED