mirror of
https://github.com/documenso/documenso.git
synced 2026-08-24 07:12:23 +10:00
feat: doc comments
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
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();
|
||||
}),
|
||||
});
|
||||
Reference in New Issue
Block a user