Made store.ts happier with some default values for parameters on callHttpClient
This commit is contained in:
parent
df3dca74a6
commit
2d9fcc0383
1 changed files with 2 additions and 2 deletions
|
|
@ -53,10 +53,10 @@ export default {
|
||||||
callHttpClient({
|
callHttpClient({
|
||||||
method,
|
method,
|
||||||
endpoint,
|
endpoint,
|
||||||
payload,
|
payload = {},
|
||||||
logApiCall = false,
|
logApiCall = false,
|
||||||
pageNameToLog = null,
|
pageNameToLog = null,
|
||||||
additionalSuccessEventDataHandler,
|
additionalSuccessEventDataHandler = undefined,
|
||||||
}) {
|
}) {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
const cfDistroUrl = applicationConfig.CONSUMER_CF_DISTRO;
|
const cfDistroUrl = applicationConfig.CONSUMER_CF_DISTRO;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue