Skip to content

Commit

Permalink
update commands topic, types
Browse files Browse the repository at this point in the history
  • Loading branch information
ncdiehl committed Apr 30, 2024
1 parent 2d3ae5f commit dba9374
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/src/redux/shell/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ export type NotifyTopic =
| 'robot-server/runs/current_command'
| 'robot-server/runs'
| `robot-server/runs/${string}`
| `robot-server/runs/${string}/pre_serialized_commands`
| `robot-server/runs/pre_serialized_commands/${string}`

export interface NotifySubscribeAction {
type: 'shell:NOTIFY_SUBSCRIBE'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export function useNotifyAllCommandsAsPreSerializedList(
const [refetch, setRefetch] = React.useState<HTTPRefetchFrequency>(null)

useNotifyService<CommandsData, AxiosError>({
topic: `robot-server/runs/${runId}/pre_serialized_commands`,
topic: `robot-server/runs/pre_serialized_commands/${runId}`,
setRefetch,
options,
})
Expand Down

0 comments on commit dba9374

Please sign in to comment.