Be consistent in client.js add -> create

This commit is contained in:
Johannes Zellner
2016-06-07 10:49:11 +02:00
parent bfa33e4d8e
commit 78135c807a

View File

@@ -529,7 +529,7 @@ angular.module('Application').service('Client', ['$http', 'md5', 'Notification',
}).error(defaultErrorHandler(callback));
};
Client.prototype.addOAuthClient = function (appId, scope, redirectURI, callback) {
Client.prototype.createOAuthClient = function (appId, scope, redirectURI, callback) {
var data = {
appId: appId,
scope: scope,