Skip to content

Commit

Permalink
Merge pull request #3359 from LiteFarmOrg/LF-4353-surveystack-integra…
Browse files Browse the repository at this point in the history
…tion-link-deprecation

LF-4353 - add staging to api links also
  • Loading branch information
SayakaOno authored Jul 31, 2024
2 parents 972562b + c6cd370 commit d06c16b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/api/src/jobs/certification/pdf.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import puppeteer from 'puppeteer';
import fs from 'fs';
import rp from 'request-promise';
const surveyStackURL = 'https://app.surveystack.io/api/';
const surveyStackURL = 'https://staging.surveystack.io/api/';

export default (nextQueue, emailQueue) => async (job) => {
console.log('STEP 3 > PDF');
Expand Down
2 changes: 1 addition & 1 deletion packages/api/src/jobs/certification/survey_record.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import XlsxPopulate from 'xlsx-populate';
import rp from 'request-promise';
const surveyStackURL = 'https://app.surveystack.io/api/';
const surveyStackURL = 'https://staging.surveystack.io/api/';

export default async (emailQueue, submission, exportId, organicCertifierSurvey, certifier) => {
if (!submission) {
Expand Down

0 comments on commit d06c16b

Please sign in to comment.