How to use the @clevercloud/client/cjs/api/organisation.js.get function in @clevercloud/client

To help you get started, we’ve selected a few @clevercloud/client examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github CleverCloud / clever-tools / src / models / user.js View on Github external
function getCurrent () {
  return get({}).then(sendToApi);
};
github CleverCloud / clever-tools / src / models / user.js View on Github external
function getCurrentId () {
  return get({}).then(sendToApi)
    .then(({ id }) => id);
};