hotfx
This commit is contained in:
@@ -42,8 +42,10 @@ const UploadModal = (props) => {
|
|||||||
: process.env.REACT_APP_API_PROD;
|
: process.env.REACT_APP_API_PROD;
|
||||||
|
|
||||||
async function saveToDb(uuidName) {
|
async function saveToDb(uuidName) {
|
||||||
|
const createdAt = new Date();
|
||||||
const data = {
|
const data = {
|
||||||
ownerId: appUserId,
|
ownerId: appUserId,
|
||||||
|
createdAt: createdAt,
|
||||||
documentName: `${uuidName}.pdf`,
|
documentName: `${uuidName}.pdf`,
|
||||||
docDescription: docDescription,
|
docDescription: docDescription,
|
||||||
dateServed: dateServed,
|
dateServed: dateServed,
|
||||||
|
|||||||
Reference in New Issue
Block a user