Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

Add the missing updaterId field declaration in TaskPatch

天舟ac4562cf97f3
diff --git a/frontend/src/types/bytebase.ts b/frontend/src/types/bytebase.ts
index 8f247af35f..a5c56cb8e4 100644
--- a/frontend/src/types/bytebase.ts
+++ b/frontend/src/types/bytebase.ts
@@ -365,6 +365,7 @@ export type TaskNew = {
};
export type TaskPatch = {
+ updaterId: PrincipalId;
name?: string;
status?: TaskStatus;
description?: string;
diff --git a/frontend/src/views/TaskDetail.vue b/frontend/src/views/TaskDetail.vue
index 08c3725a51..1bb6d7890e 100644
--- a/frontend/src/views/TaskDetail.vue
+++ b/frontend/src/views/TaskDetail.vue
@@ -605,7 +605,7 @@ export default {
};
const patchTask = (
- taskPatch: TaskPatch,
+ taskPatch: Omit<TaskPatch, "updaterId">,
postUpdated?: (updatedTask: Task) => void
) => {
store