Skip to content

Commit

Permalink
fix missing fields
Browse files Browse the repository at this point in the history
  • Loading branch information
quinn committed Jan 28, 2024
1 parent 8de4f22 commit f76f604
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions electron/main/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ import { fetchTransactions, hideTransaction } from './models/transactions'
import { prisma } from './prisma'
import { extract, load, transform } from './lib/cli'
import { TRPC_ERROR_CODE_KEY } from '@trpc/server/rpc'
import { writeCronTasks } from '~electron/lib/crontab/crontab'
import { writeCronTasks } from '../lib/crontab/crontab'

const AccountInput = z.object({
id: z.string(),
name: z.string(),
mask: z.string().optional(),
type: z.string().optional(),
subtype: z.string().optional(),
mask: z.union([z.string(), z.null()]).optional(),
type: z.union([z.string(), z.null()]).optional(),
subtype: z.union([z.string(), z.null()]).optional(),
})

const t = initTRPC.context().create({ isServer: true })
Expand Down

0 comments on commit f76f604

Please sign in to comment.