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

Fixed code to make /assign command working. #31

Merged
merged 1 commit into from
Jul 13, 2024

Conversation

nikhil25803
Copy link
Contributor

@nikhil25803 nikhil25803 commented Jul 13, 2024

@DonnieBLT
Issue -

/home/runner/work/_actions/OWASP-BLT/BLT-Action/main/src/index.js:123
                            const issueDetails = await octokit.issues.get({
                                                 ^^^^^

SyntaxError: await is only valid in async functions and the top level bodies of modules

Fix - Added async at the top level of the function await octokit.issues.get()

Screenshot -
image

@DonnieBLT DonnieBLT merged commit 5fe62ba into OWASP-BLT:main Jul 13, 2024
1 check passed
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.

2 participants