upload document redirect to document not recipients

This commit is contained in:
Timur Ercan
2023-02-01 14:39:47 +01:00
parent 614392d4ae
commit 4df11060b6

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}/recipients`
`${NEXT_PUBLIC_WEBAPP_URL}/documents/${createdDocumentIdFromBody}`
);
});
});