feedback -> ticket
This commit is contained in:
@@ -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));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user