redir to recipient edit after upload

This commit is contained in:
Timur Ercan
2023-01-31 15:43:45 +01:00
parent aae64d03f7
commit 2306bc2d65

View File

@ -23,7 +23,7 @@ export const uploadDocument = async (event: any) => {
.then((response: Response) => {
response.json().then((createdDocumentIdFromBody) => {
router.push(
`${NEXT_PUBLIC_WEBAPP_URL}/documents/${createdDocumentIdFromBody}`
`${NEXT_PUBLIC_WEBAPP_URL}/documents/${createdDocumentIdFromBody}/recipients`
);
});
});