Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
seralexeev authored Jul 11, 2023
1 parent 78cf9e0 commit dd9b6de
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/worker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,7 @@ import { task, cron } from '@untype/worker';
export class TodoWorker {
constructor(private pg: Pg, private mail: MailService) {}

public ['
todo/SEND_EMAIL'] = task({
public ['todo/SEND_EMAIL'] = task({
input: z.object({ id: z.string() }),
resolve: async ({ input }) => {
const [todo = never()] = await this.pg.sql<{ id: string; title: string }>`
Expand Down

0 comments on commit dd9b6de

Please sign in to comment.