Skip to content

Commit

Permalink
Fixing a bug related to the venue field
Browse files Browse the repository at this point in the history
  • Loading branch information
jkrrv committed Aug 8, 2024
1 parent 76f55cb commit 0f66982
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
push:
branches: [ "master" ]
tags:
- '*'
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
pull_request:
branches: [ "master" ]

Expand Down
3 changes: 2 additions & 1 deletion src/DigSig/DigSig.php
Original file line number Diff line number Diff line change
Expand Up @@ -342,12 +342,13 @@ protected function doApiRequest(): void

if ($e->status() === \tp\TouchPointWP\Meeting::STATUS_CANCELLED) {
$eO['title'] = "CANCELLED: " . $eO['title'];
$eO['location'] = null;
} else {
$eO['allDay'] = $e->isAllDay();
$eO['location'] = $e->locationName();
$eO['venue'] = ['venue' => $eO['location']];
}

$eO['venue'] = ['venue' => $eO['location']];
$eO['shortUrl'] = ""; // TODO

$eO['start_date'] = $e->startDt->format('Y-m-d H:i:s');
Expand Down

0 comments on commit 0f66982

Please sign in to comment.