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

error TypeError: Cannot destructure property 'status' of '(intermediate value)' as it is undefined. #11

Open
tophermurphy opened this issue Aug 25, 2021 · 0 comments

Comments

@tophermurphy
Copy link

Error is coming up in
strapi-plugin-github-publish/controllers/github-publish.js

Line 52
const { status } = await axios.post(url, data, { headers });

Azure VM
Image: Ubuntu Server 18.04 LTS

Removing the curly braces around status seemed to work via StackOverflow
https://stackoverflow.com/questions/54744949/uncaught-typeerror-cannot-destructure-property-name-of-undefined-or-null#answer-66994361

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

No branches or pull requests

1 participant