-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Toolkit update #937
Toolkit update #937
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## dev #937 +/- ##
==========================================
- Coverage 57.84% 57.41% -0.43%
==========================================
Files 176 176
Lines 7448 7533 +85
Branches 769 794 +25
==========================================
+ Hits 4308 4325 +17
- Misses 2970 3040 +70
+ Partials 170 168 -2
☔ View full report in Codecov by Sentry. |
gui/pages/api/DashboardService.js
Outdated
export const updateMarketplaceToolTemplate = (templateName) => { | ||
return api.get(`/toolkits/check_update/${templateName}`); | ||
}; | ||
|
||
export const installToolkitTemplate = (templateName) => { | ||
return api.get(`/toolkits/get/install/${templateName}`); | ||
}; | ||
|
||
export const checkToolkitUpdate = (templateName) => { | ||
return api.get(`/toolkits/check_update/${templateName}`); | ||
}; | ||
|
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.
same endpoint with different functions
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.
fix kar diya hai, approve krdo bhai
Description
Prod only feature, any toolkit which is already installed and if there is change in toolkit in marketplace then now once can update their tool.
Related Issues
Solution and Design
Test Plan
Improve Code tool can be now added to user which dont have that since it is already in marketplace
Type of change
Checklist