Compare commits

...

2 Commits

Author SHA1 Message Date
David Nguyen
e52aa8a12d fix: test 2023-09-20 14:21:08 +10:00
David Nguyen
3361acdef3 fix: test 2023-09-20 13:59:14 +10:00
2 changed files with 73 additions and 63 deletions

View File

@@ -1,3 +1,5 @@
TEST
<p align="center" style="margin-top: 120px">
<a href="https://github.com/documenso/documenso">
<img width="250px" src="https://github.com/documenso/documenso/assets/1309312/cd7823ec-4baa-40b9-be78-4acb3b1c73cb" alt="Documenso Logo">
@@ -227,6 +229,7 @@ docker run -d --restart=unless-stopped -p 3000:3000 -v documenso:/app/data --nam
```
Command Breakdown:
- `-d` - Let's you run the container in background
- `-p` - Passes down which ports to use. First half is the host port, Second half is the app port. You can change the first half anything you want and reverse proxy to that port.
- `-v` - Volume let's you persist the data
@@ -277,5 +280,5 @@ containers:
- start
- --
- -H
- "::"
- '::'
```

View File

@@ -89,7 +89,8 @@ export const createSinglePlayerDocument = async (
const pdfBytes = await doc.save();
const documentToken = await prisma.$transaction(async (tx) => {
const documentToken = await prisma.$transaction(
async (tx) => {
const documentToken = nanoid();
// Fetch service user who will be the owner of the document.
@@ -159,7 +160,13 @@ export const createSinglePlayerDocument = async (
);
return documentToken;
});
},
// Test values.
{
maxWait: 30000,
timeout: 30000,
},
);
// Todo: Handle `downloadLink`
const template = createElement(DocumentSelfSignedEmailTemplate, {