mirror of
https://github.com/documenso/documenso.git
synced 2025-11-24 05:32:12 +10:00
10 lines
254 B
TypeScript
10 lines
254 B
TypeScript
import { findComments } from '@documenso/lib/server-only/comment/find-comments';
|
|
|
|
import { procedure, router } from '../trpc';
|
|
|
|
export const commentRouter = router({
|
|
getComments: procedure.query(async () => {
|
|
return await findComments();
|
|
}),
|
|
});
|