MCPcopy Create free account
hub / github.com/Linen-dev/linen.dev / updateLastReplyAt

Function updateLastReplyAt

apps/web/services/threads/index.ts:425–440  ·  view source on GitHub ↗
({
  lastReplyAt,
  threadId,
}: {
  lastReplyAt: number;
  threadId: string;
})

Source from the content-addressed store, hash-verified

423};
424
425export async function updateLastReplyAt({
426 lastReplyAt,
427 threadId,
428}: {
429 lastReplyAt: number;
430 threadId: string;
431}) {
432 await prisma.threads.update({
433 data: {
434 lastReplyAt,
435 },
436 where: {
437 id: threadId,
438 },
439 });
440}
441
442export const findThreadsByChannel = ({
443 channelId,

Callers 1

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected