From 089c9828b9f269e093ceac8679ba07d536684068 Mon Sep 17 00:00:00 2001 From: Nolan Ehrstrom Date: Thu, 25 Jul 2024 11:42:10 -0700 Subject: [PATCH] Return mock values in the correct format --- src/DataProvider.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DataProvider.js b/src/DataProvider.js index dfbefe9b7..38c09ac2c 100644 --- a/src/DataProvider.js +++ b/src/DataProvider.js @@ -199,7 +199,7 @@ export default { !window.ProcessMaker.screen.cacheEnabled && !window.ProcessMaker.screen.cacheTimeout ) { - return this.postDataSource(dataSourceId, null, params); + return this.postDataSource(dataSourceId, null, params).then(r => [r, nonce]); } let url = `/requests/data_sources/${dataSourceId}/resources/${params.config.endpoint}/data`; url += this.authQueryString();