Fix create invite post request

This commit is contained in:
Girish Ramakrishnan
2018-12-15 09:27:35 -08:00
parent 5319254ed2
commit fd301ef3a5
+1 -1
View File
@@ -980,7 +980,7 @@ angular.module('Application').service('Client', ['$http', '$interval', 'md5', 'N
};
Client.prototype.createInvite = function (userId, callback) {
post('/api/v1/users/' + userId + '/create_invite', null, function (error, data, status) {
post('/api/v1/users/' + userId + '/create_invite', {}, null, function (error, data, status) {
if (error) return callback(error);
if (status !== 200) return callback(new ClientError(status, data));