Skip to content

Commit

Permalink
feature-2658: Update all dependencies to latest version and ensure si…
Browse files Browse the repository at this point in the history
…te generation works (#2674)
  • Loading branch information
Hieu Lam - TMA authored Aug 25, 2023
1 parent 2e1f9e6 commit 7483ea0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions src/backend/fold_v1.js
Original file line number Diff line number Diff line change
Expand Up @@ -484,10 +484,10 @@ function extractEventUrls(event, speakers, sponsors, reqOpts, next) {
const twitterLink = arrayTwitterLink[arrayTwitterLink.length - 1];

const urls = {
main_page_url: event.event_url,
logo_url: event.logo,
background_url: event.background_image,
background_path: event.background_image,
main_page_url: event.external_event_url,
logo_url: event.logo_url,
background_url: event.original_image_url,
background_path: event.original_image_url,
date: moment.parseZone(event.start_time).format('dddd, Do MMMM'),
time: moment.parseZone(event.start_time).format('HH:mm'),
end_date: moment.parseZone(event.end_time).format('dddd, Do MMMM'),
Expand All @@ -501,8 +501,8 @@ function extractEventUrls(event, speakers, sponsors, reqOpts, next) {
twitterLink: twitterLink,
tweetUrl: sociallink,
email: event.email,
orgname: event.organizer_name,
orgdescription: event.organizer_description,
orgname: event.owner_name,
orgdescription: event.owner_description,
location_name: event.location_name,
featuresection: featuresection,
sponsorsection: sponsorsection,
Expand Down
8 changes: 4 additions & 4 deletions src/backend/fold_v2.js
Original file line number Diff line number Diff line change
Expand Up @@ -513,8 +513,8 @@ function extractEventUrls(event, speakers, sponsors, reqOpts, next) {
const arrayTwitterLink = sociallink.split('/');
const twitterLink = arrayTwitterLink[arrayTwitterLink.length - 1];

const urls = {
main_page_url: event['event-url'],
const urls = {
main_page_url: event['external-event-url'],
logo_url: event['logo-url'],
background_url: event['original-image-url'],
background_path: event['original-image-url'],
Expand All @@ -534,8 +534,8 @@ function extractEventUrls(event, speakers, sponsors, reqOpts, next) {
twitterLink: twitterLink,
tweetUrl: sociallink,
email: event.email,
orgname: event['organizer-name'],
orgdescription: event['organizer-description'],
orgname: event['owner-name'],
orgdescription: event['owner-description'],
location_name: event['location-name'],
featuresection: featuresection,
sponsorsection: sponsorsection,
Expand Down

0 comments on commit 7483ea0

Please sign in to comment.