Compare commits
2 Commits
chore/code
...
feat/singl
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e52aa8a12d | ||
|
|
3361acdef3 |
@@ -1,3 +1,5 @@
|
|||||||
|
TEST
|
||||||
|
|
||||||
<p align="center" style="margin-top: 120px">
|
<p align="center" style="margin-top: 120px">
|
||||||
<a href="https://github.com/documenso/documenso">
|
<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">
|
<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:
|
Command Breakdown:
|
||||||
|
|
||||||
- `-d` - Let's you run the container in background
|
- `-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.
|
- `-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
|
- `-v` - Volume let's you persist the data
|
||||||
@@ -277,5 +280,5 @@ containers:
|
|||||||
- start
|
- start
|
||||||
- --
|
- --
|
||||||
- -H
|
- -H
|
||||||
- "::"
|
- '::'
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -89,7 +89,8 @@ export const createSinglePlayerDocument = async (
|
|||||||
|
|
||||||
const pdfBytes = await doc.save();
|
const pdfBytes = await doc.save();
|
||||||
|
|
||||||
const documentToken = await prisma.$transaction(async (tx) => {
|
const documentToken = await prisma.$transaction(
|
||||||
|
async (tx) => {
|
||||||
const documentToken = nanoid();
|
const documentToken = nanoid();
|
||||||
|
|
||||||
// Fetch service user who will be the owner of the document.
|
// Fetch service user who will be the owner of the document.
|
||||||
@@ -159,7 +160,13 @@ export const createSinglePlayerDocument = async (
|
|||||||
);
|
);
|
||||||
|
|
||||||
return documentToken;
|
return documentToken;
|
||||||
});
|
},
|
||||||
|
// Test values.
|
||||||
|
{
|
||||||
|
maxWait: 30000,
|
||||||
|
timeout: 30000,
|
||||||
|
},
|
||||||
|
);
|
||||||
|
|
||||||
// Todo: Handle `downloadLink`
|
// Todo: Handle `downloadLink`
|
||||||
const template = createElement(DocumentSelfSignedEmailTemplate, {
|
const template = createElement(DocumentSelfSignedEmailTemplate, {
|
||||||
|
|||||||
Reference in New Issue
Block a user