Skip to content

Commit

Permalink
Return mock values in the correct format
Browse files Browse the repository at this point in the history
  • Loading branch information
nolanpro committed Jul 25, 2024
1 parent 9da47c8 commit 089c982
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DataProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 089c982

Please sign in to comment.