diff --git a/.gitmodules b/.gitmodules index 825058bec..1ff87471d 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,4 +1,3 @@ [submodule "apps/website/documenso/website"] path = apps/website/documenso/website - url = http://github.com/eltimuro/website.git -# todo api \ No newline at end of file + url = http://github.com/eltimuro/website.git \ No newline at end of file diff --git a/apps/web/components/editor/editable-field.tsx b/apps/web/components/editor/editable-field.tsx index 60795d87e..b6ef8ad71 100644 --- a/apps/web/components/editor/editable-field.tsx +++ b/apps/web/components/editor/editable-field.tsx @@ -62,7 +62,6 @@ export default function EditableField(props: FieldPropsType) {
- {/* todo icons */} {field.type} {field.type === "SIGNATURE" ? (
diff --git a/apps/web/pages/dashboard.tsx b/apps/web/pages/dashboard.tsx index 38ddb052b..63ad4068b 100644 --- a/apps/web/pages/dashboard.tsx +++ b/apps/web/pages/dashboard.tsx @@ -156,7 +156,6 @@ export async function getServerSideProps(context: any) { dashboard: { drafts: drafts.length, waiting: waiting.length, - docs: waiting, completed: completed.length, }, }, diff --git a/packages/lib/mail/sendSigningRequest.ts b/packages/lib/mail/sendSigningRequest.ts index 921d008c8..b1ddc218c 100644 --- a/packages/lib/mail/sendSigningRequest.ts +++ b/packages/lib/mail/sendSigningRequest.ts @@ -9,7 +9,6 @@ export const sendSigningRequest = async ( document: any, user: any ) => { - // todo errror handling await sendMail( user.email, `Please sign ${document.title}`, diff --git a/packages/lib/query/getDocumentsForUserFromToken.ts b/packages/lib/query/getDocumentsForUserFromToken.ts index d8874d32e..62a383a4f 100644 --- a/packages/lib/query/getDocumentsForUserFromToken.ts +++ b/packages/lib/query/getDocumentsForUserFromToken.ts @@ -7,7 +7,6 @@ export const getDocumentsForUserFromToken = async ( const user = await getUserFromToken(context.req, context.res); if (!user) return Promise.reject("Invalid user or token."); - // todo remove document base64 data const documents = await prisma.document.findMany({ where: { userId: user.id,