-
Notifications
You must be signed in to change notification settings - Fork 5
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: Update Status API #69
Conversation
751d3da
to
1fd4a1f
Compare
controllers/Bot.js
Outdated
import logger from '../utils/logger.js' | ||
import {db} from '../server.js' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why this change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have reverted this
services/DBService.js
Outdated
@@ -149,6 +149,38 @@ class DBService { | |||
|
|||
return sessions; | |||
} | |||
async set_data(key, data) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what are these functions being used for?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed these function for now but thought, it could be used as a getter and setter later on
6119c3f
to
865e651
Compare
Description
This PR will add update status API and get status API
Features covered
NO-Ticket Availbale Yest
Changes made
Screenshots/recordings
NA
Testing
NA
Self checks
Reviewer Suggestions
NA