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

Added chat bot #4

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open

Added chat bot #4

wants to merge 10 commits into from

Conversation

Coder-ak
Copy link
Owner

@Coder-ak Coder-ak commented Jun 8, 2024

No description provided.

@Coder-ak Coder-ak self-assigned this Jun 8, 2024
src/server/chat-bot.ts Fixed Show fixed Hide fixed
@@ -153,7 +153,7 @@
* '500':
* description: Internal Server Error
*/
app.post('/light', authenticateToken, (req, res, next) => {
app.post('/light', authenticateToken, async (req, res, next) => {

Check failure

Code scanning / CodeQL

Missing rate limiting High

This route handler performs
authorization
, but is not rate-limited.
res.sendStatus(200);
});

app.post(`/light/bot/message`, authenticateToken, async (req, res) => {

Check failure

Code scanning / CodeQL

Missing rate limiting High

This route handler performs
authorization
, but is not rate-limited.
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.

1 participant