mirror of
https://github.com/documenso/documenso.git
synced 2025-11-13 00:03:33 +10:00
🧹
This commit is contained in:
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -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
|
||||
@ -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">
|
||||
|
||||
@ -156,7 +156,6 @@ export async function getServerSideProps(context: any) {
|
||||
dashboard: {
|
||||
drafts: drafts.length,
|
||||
waiting: waiting.length,
|
||||
docs: waiting,
|
||||
completed: completed.length,
|
||||
},
|
||||
},
|
||||
|
||||
@ -9,7 +9,6 @@ export const sendSigningRequest = async (
|
||||
document: any,
|
||||
user: any
|
||||
) => {
|
||||
// todo errror handling
|
||||
await sendMail(
|
||||
user.email,
|
||||
`Please sign ${document.title}`,
|
||||
|
||||
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user