1
0
mirror of https://github.com/yldio/copilot.git synced 2024-09-21 22:03:54 +03:00
copilot/cloudapi-graphql/src/api/networks.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
179 B
JavaScript

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