-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

* fix gocardless call - forked process didnt know its origin * add release notes * mamma mia * remove old change
- Loading branch information
1 parent
6532939
commit 6a85f84
Showing
2 changed files
with
18 additions
and
2 deletions.
There are no files selected for viewing
14 changes: 12 additions & 2 deletions
14
packages/loot-core/src/platform/server/fetch/index.electron.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,12 @@ | ||
// @ts-strict-ignore | ||
export { default as fetch } from 'node-fetch'; | ||
// // @ts-strict-ignore | ||
import nodeFetch from 'node-fetch'; | ||
|
||
export const fetch = (input: RequestInfo | URL, options?: RequestInit) => { | ||
return nodeFetch(input, { | ||
...options, | ||
headers: { | ||
...options?.headers, | ||
origin: 'app://actual', | ||
}, | ||
}); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
category: Bugfix | ||
authors: [MikesGlitch] | ||
--- | ||
|
||
Fix gocardless "Linking back account" integration in Desktop app. |