Skip to content

Commit

Permalink
Merge branch 'master' into calendar_report
Browse files Browse the repository at this point in the history
  • Loading branch information
lelemm authored Nov 7, 2024
2 parents b9ff5e5 + 2b72b2f commit ae21d64
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/update-vrt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ jobs:
E2E_START_URL: ${{ steps.netlify.outputs.url }}
- name: Create patch
run: |
git config --system --add safe.directory "*"
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git reset
git add "**/*.png"
if git diff --staged --quiet; then
Expand Down Expand Up @@ -77,10 +80,9 @@ jobs:
name: patch
- name: Apply patch and push
run: |
git apply Update-VRT.patch
git config --system --add safe.directory "*"
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git apply Update-VRT.patch
git add "**/*.png"
if git diff --staged --quiet; then
echo "No changes to commit"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function useAvailableBanks(country: string) {

const { data, error } = await sendCatch('gocardless-get-banks', country);

if (error) {
if (error || !Array.isArray(data)) {
setIsError(true);
setBanks([]);
} else {
Expand Down
6 changes: 6 additions & 0 deletions upcoming-release-notes/3793.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
category: Bugfix
authors: [thraizz]
---

Handle unexpected response from GoCardless when getting banks.

0 comments on commit ae21d64

Please sign in to comment.