Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix logging of queries in ra-data-fakerest #9960

Merged
merged 1 commit into from
Jun 26, 2024
Merged

Conversation

fzaninotto
Copy link
Member

Closes #9959

}
let response;
try {
response = getResponse(type, resource, params);
response = await getResponse(type, resource, params);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was the root cause: since the introduction of the delay in #9908, getResponse may return a Promise.

@djhi djhi merged commit 3ad9ccd into master Jun 26, 2024
14 checks passed
@djhi djhi deleted the fix-ra-data-fakerest branch June 26, 2024 20:00
@fzaninotto fzaninotto added this to the 5.0.3 milestone Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ra-data-fakerest doesn't log response to the console
2 participants