Skip to content

Commit

Permalink
fix(cu): rename import
Browse files Browse the repository at this point in the history
  • Loading branch information
TillaTheHun0 committed Dec 17, 2023
1 parent 83f29ad commit aa1ef5f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion servers/cu/src/routes/cron.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const inputSchema = z.object({
to: z.string().optional()
})

export const withScheduledRoutes = app => {
export const withCronRoutes = app => {
const cronConnection = toConnection({
nodeFn: (evaluation) => evaluation.output,
cursorFn: (evaluation) => evaluation.timestamp
Expand Down
4 changes: 2 additions & 2 deletions servers/cu/src/routes/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ import { pipe } from 'ramda'

import { withStateRoutes } from './state.js'
import { withResultRoutes } from './result.js'
import { withScheduledRoutes } from './scheduled.js'
import { withCronRoutes } from './cron.js'

export const withRoutes = pipe(
withStateRoutes,
withResultRoutes,
withScheduledRoutes
withCronRoutes
)

0 comments on commit aa1ef5f

Please sign in to comment.