diff --git a/apps/OpenSign/src/primitives/Validate.js b/apps/OpenSign/src/primitives/Validate.js index d64f6fb2be..1cb6de19e9 100644 --- a/apps/OpenSign/src/primitives/Validate.js +++ b/apps/OpenSign/src/primitives/Validate.js @@ -54,7 +54,7 @@ const Validate = () => { ) : (
-

{this("session-expired")}

+

{t("session-expired")}

diff --git a/apps/OpenSignServer/cloud/parsefunction/createBatchDocs.js b/apps/OpenSignServer/cloud/parsefunction/createBatchDocs.js index 38ba3b30ef..03f6dbcc5a 100644 --- a/apps/OpenSignServer/cloud/parsefunction/createBatchDocs.js +++ b/apps/OpenSignServer/cloud/parsefunction/createBatchDocs.js @@ -1,5 +1,5 @@ import axios from 'axios'; -import { cloudServerUrl, replaceMailVaribles } from '../../Utils.js'; +import { cloudServerUrl, mailTemplate, replaceMailVaribles } from '../../Utils.js'; const serverUrl = cloudServerUrl; //process.env.SERVER_URL; const appId = process.env.APP_ID; async function deductcount(docsCount, extUserId) { @@ -244,7 +244,7 @@ export default async function createBatchDocs(request) { }; try { if (request?.user) { - return await batchQuery(request.user.id, Documents, Ip, parseConfig, '', type, publicUrl); + return await batchQuery(request.user.id, Documents, Ip, parseConfig, type, publicUrl); } else { throw new Parse.Error(Parse.Error.INVALID_SESSION_TOKEN, 'User is not authenticated.'); }