Skip to content

Commit

Permalink
fix: update reset node flag (#547)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulclindo authored Dec 3, 2024
1 parent 0f62910 commit c4da44e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/shinkai-desktop/src/pages/layout/main-layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ const MainLayout = () => {
if (isSuccess && nodeInfo?.status === 'ok') {
toast.dismiss('node-unavailable');
}
if (isSuccess && nodeInfo?.update_needs_reset) {
if (isSuccess && nodeInfo?.update_requires_reset) {
setNeedsResetApp(true);
}
}, [isSuccess, nodeInfo?.status, isFetching]);
Expand Down
2 changes: 1 addition & 1 deletion libs/shinkai-message-ts/src/api/general/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export type CheckHealthResponse = {
node_name: string;
is_pristine: boolean;
version: string;
update_needs_reset: boolean;
update_requires_reset: boolean;
};

export type Token = { token: string };
Expand Down

0 comments on commit c4da44e

Please sign in to comment.