feat: release and discard workflow changes
This commit is contained in:
@@ -35,7 +35,7 @@ export const get = async (id: string) => {
|
||||
});
|
||||
};
|
||||
|
||||
export const save = async (record: Record<string, string | boolean | WorkflowNode>) => {
|
||||
export const save = async (record: MaybeModelRecord<WorkflowModel>) => {
|
||||
if (record.id) {
|
||||
return await getPocketBase()
|
||||
.collection(COLLECTION_NAME)
|
||||
|
||||
Reference in New Issue
Block a user