joyent-portal/cloudapi-graphql/src/api/packages.js
Tom Gallacher e71fc374bc triton-graphql -> Joyent cloudapi-graphql (#22)
This brings the name of the application inline with the terminology in
the Joyent triton / cloud api documentation.
2016-10-14 12:51:09 +01:00

10 lines
187 B
JavaScript

const request = require('./request');
module.exports.list = (ctx) => {
return request('listPackages', ctx);
};
module.exports.get = (ctx) => {
return request('getPackage', ctx);
};