Add altEmail to support ticket (when mail is down)

This commit is contained in:
Girish Ramakrishnan
2019-10-15 11:39:57 -07:00
parent a641fec3ae
commit b035030867
3 changed files with 11 additions and 4 deletions

View File

@@ -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) {