Skip to content

Commit

Permalink
add incoming indicator for LF
Browse files Browse the repository at this point in the history
  • Loading branch information
sanoel committed Jul 26, 2023
1 parent 51e27c9 commit 683712b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@qlever-llc/fl-sync",
"version": "1.4.7",
"version": "1.4.8",
"description": "A Trellis microservice to sync Food Logiq data to a Trellis cloud",
"main": "dist/index.ts",
"scripts": {
Expand Down
3 changes: 2 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,8 @@ export async function initialize({
function prepEmail() {
const date = moment().subtract(1, 'day').format('YYYY-MM-DD');
if (!REPORT_EMAIL) throw new Error('REPORT_EMAIL is required for prepEmail');
if (!REPORT_REPLYTO_EMAIL) throw new Error('REPORT_REPLYTO_EMAIL is required for prepEmail');
if (!REPORT_REPLYTO_EMAIL)
throw new Error('REPORT_REPLYTO_EMAIL is required for prepEmail');
return {
from: '[email protected]',
to: REPORT_CC_EMAIL ? [REPORT_EMAIL, REPORT_CC_EMAIL] : [REPORT_EMAIL],
Expand Down
1 change: 1 addition & 0 deletions src/mirrorWatch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -577,6 +577,7 @@ export async function postTpDocument({
path: `/${docId}/_meta`,
data: {
vdoc: { pdf: { [pdfKey]: { _id: pdfId } } },
shared: 'incoming',
},
});
trace(
Expand Down
1 change: 0 additions & 1 deletion src/reportConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ export const tpReportConfig: ReportConfig = {
'FL Address': '/config/fl-business/business/address/addressLineOne',
'FL City': '/config/fl-business/business/address/city',
'FL State': '/config/fl-business/business/address/region',
'FL ID': '/config/fl-business/business/_id',
'FL Link': '/config/link',
'Error Message': '/fl-business-incomplete-reason',
},
Expand Down

0 comments on commit 683712b

Please sign in to comment.