feedback -> ticket

This commit is contained in:
Girish Ramakrishnan
2019-05-07 11:36:12 -07:00
parent 48c3372c33
commit cd9263711f
2 changed files with 3 additions and 3 deletions

View File

@@ -1232,7 +1232,7 @@ angular.module('Application').service('Client', ['$http', '$interval', 'md5', 'N
});
};
Client.prototype.feedback = function (type, subject, description, appId /* optional */, callback) {
Client.prototype.createTicket = function (type, subject, description, appId /* optional */, callback) {
var data = {
type: type,
subject: subject,
@@ -1240,7 +1240,7 @@ angular.module('Application').service('Client', ['$http', '$interval', 'md5', 'N
appId: appId || undefined
};
post('/api/v1/support/feedback', data, null, function (error, data, status) {
post('/api/v1/support/ticket', data, null, function (error, data, status) {
if (error) return callback(error);
if (status !== 201) return callback(new ClientError(status, data));