This commit is contained in:
Timur Ercan
2023-02-20 19:35:46 +01:00
parent 31fec65187
commit f3e083e991
5 changed files with 1 additions and 6 deletions

3
.gitmodules vendored
View File

@ -1,4 +1,3 @@
[submodule "apps/website/documenso/website"]
path = apps/website/documenso/website
url = http://github.com/eltimuro/website.git
# todo api
url = http://github.com/eltimuro/website.git

View File

@ -62,7 +62,6 @@ export default function EditableField(props: FieldPropsType) {
<Logo className="w-16 mx-auto"></Logo>
</div>
<div className="m-auto w-auto flex-row-reverse text-lg font-bold text-center">
{/* todo icons */}
{field.type}
{field.type === "SIGNATURE" ? (
<div className="text-xs text-center">

View File

@ -156,7 +156,6 @@ export async function getServerSideProps(context: any) {
dashboard: {
drafts: drafts.length,
waiting: waiting.length,
docs: waiting,
completed: completed.length,
},
},

View File

@ -9,7 +9,6 @@ export const sendSigningRequest = async (
document: any,
user: any
) => {
// todo errror handling
await sendMail(
user.email,
`Please sign ${document.title}`,

View File

@ -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,