( id: string, thread: Prisma.threadsUpdateInput )
| 562 | }; |
| 563 | |
| 564 | export const updateSlackThread = async ( |
| 565 | id: string, |
| 566 | thread: Prisma.threadsUpdateInput |
| 567 | ) => { |
| 568 | return await prisma.threads.update({ |
| 569 | where: { |
| 570 | id: id, |
| 571 | }, |
| 572 | data: thread, |
| 573 | }); |
| 574 | }; |