Skip to content

Commit 75c0cdb

Browse files
fix: quick send not working
1 parent 740ccca commit 75c0cdb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/OpenSignServer/cloud/parsefunction/createBatchDocs.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import axios from 'axios';
2-
import { cloudServerUrl, replaceMailVaribles } from '../../Utils.js';
2+
import { cloudServerUrl, mailTemplate, replaceMailVaribles } from '../../Utils.js';
33
const serverUrl = cloudServerUrl; //process.env.SERVER_URL;
44
const appId = process.env.APP_ID;
55
async function deductcount(docsCount, extUserId) {
@@ -244,7 +244,7 @@ export default async function createBatchDocs(request) {
244244
};
245245
try {
246246
if (request?.user) {
247-
return await batchQuery(request.user.id, Documents, Ip, parseConfig, '', type, publicUrl);
247+
return await batchQuery(request.user.id, Documents, Ip, parseConfig, type, publicUrl);
248248
} else {
249249
throw new Parse.Error(Parse.Error.INVALID_SESSION_TOKEN, 'User is not authenticated.');
250250
}

0 commit comments

Comments
 (0)