Add altEmail to support ticket (when mail is down)
This commit is contained in:
@@ -1340,12 +1340,13 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout
|
||||
});
|
||||
};
|
||||
|
||||
Client.prototype.createTicket = function (type, subject, description, appId /* optional */, callback) {
|
||||
Client.prototype.createTicket = function (type, subject, description, appId /* optional */, altEmail /* optional */, callback) {
|
||||
var data = {
|
||||
type: type,
|
||||
subject: subject,
|
||||
description: description,
|
||||
appId: appId || undefined
|
||||
appId: appId || undefined,
|
||||
altEmail: altEmail || undefined
|
||||
};
|
||||
|
||||
post('/api/v1/support/ticket', data, null, function (error, data, status) {
|
||||
|
||||
Reference in New Issue
Block a user