Skip to content

Commit

Permalink
- fix: wrong param for associated_ui (#422)
Browse files Browse the repository at this point in the history
  • Loading branch information
agallardol authored Sep 5, 2024
1 parent 240dd83 commit 31389d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion libs/shinkai-message-ts/src/api/jobs/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export type CreateJobRequest = {
};
associated_ui: {
Sheet: string;
};
} | null;
is_hidden: boolean;
};
};
Expand Down
4 changes: 1 addition & 3 deletions libs/shinkai-node-state/src/v2/mutations/createJob/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,7 @@ export const createJob = async ({
local_vrkai: [],
network_folders: [],
},
associated_ui: {
Sheet: sheetId ?? '',
},
associated_ui: sheetId ? { Sheet: sheetId } : null,
is_hidden: isHidden,
},
});
Expand Down

0 comments on commit 31389d5

Please sign in to comment.