mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-05-06 17:17:10 +02:00
Merged in bugfix/firefox_56_login (pull request #329)
do not use function as fetch argument, use the resulting object
This commit is contained in:
@@ -46,7 +46,7 @@ export function createUrl(url: string) {
|
||||
|
||||
class ApiClient {
|
||||
get(url: string): Promise<Response> {
|
||||
return fetch(createUrl(url), applyFetchOptions).then(handleFailure);
|
||||
return fetch(createUrl(url), applyFetchOptions({})).then(handleFailure);
|
||||
}
|
||||
|
||||
post(url: string, payload: any, contentType: string = "application/json") {
|
||||
|
||||
Reference in New Issue
Block a user