Skip to content

Commit 25931a8

Browse files
author
a.peters
committed
add os parameter by plans.listPlans and fix url by startupScripts
1 parent 502e561 commit 25931a8

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/api/plans.js

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ exports.listPlans = {
1616
requestType: 'GET',
1717
parameters: {
1818
type: { type: 'string' },
19+
os: { type: 'string' },
1920
per_page: { type: 'string' },
2021
cursor: { type: 'string' }
2122
}

src/api/startup-scripts.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ exports.getStartupScript = {
3232
* @instance
3333
*/
3434
exports.deleteStartupScript = {
35-
url: '/sctartup-scripts/{startup-id}',
35+
url: '/startup-scripts/{startup-id}',
3636
requestType: 'DELETE',
3737
apiKeyRequired: true,
3838
parameters: {
@@ -52,7 +52,7 @@ exports.deleteStartupScript = {
5252
* @instance
5353
*/
5454
exports.updateStartupScript = {
55-
url: '/sctartup-scripts/{startup-id}',
55+
url: '/startup-scripts/{startup-id}',
5656
requestType: 'PATCH',
5757
apiKeyRequired: true,
5858
parameters: {

0 commit comments

Comments
 (0)