diff options
Diffstat (limited to 'webapp/client')
-rw-r--r-- | webapp/client/client.jsx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/webapp/client/client.jsx b/webapp/client/client.jsx index 5dda975f6..b842d9939 100644 --- a/webapp/client/client.jsx +++ b/webapp/client/client.jsx @@ -1573,6 +1573,16 @@ export default class Client { end(this.handleResponse.bind(this, 'deauthorizeOAuthApp', success, error)); } + regenerateOAuthAppSecret(id, success, error) { + request. + post(`${this.getOAuthRoute()}/${id}/regen_secret`). + set(this.defaultHeaders). + type('application/json'). + accept('application/json'). + send(). + end(this.handleResponse.bind(this, 'regenerateOAuthAppSecret', success, error)); + } + // Routes for Hooks addIncomingHook(hook, success, error) { |