Reduce feedback form options and add ability to specify failing app
This commit is contained in:
@@ -859,11 +859,12 @@ angular.module('Application').service('Client', ['$http', '$interval', 'md5', 'N
|
||||
}).error(defaultErrorHandler(callback));
|
||||
};
|
||||
|
||||
Client.prototype.feedback = function (type, subject, description, callback) {
|
||||
Client.prototype.feedback = function (type, subject, description, appId /* optional */, callback) {
|
||||
var data = {
|
||||
type: type,
|
||||
subject: subject,
|
||||
description: description
|
||||
description: description,
|
||||
appId: appId || undefined
|
||||
};
|
||||
|
||||
post('/api/v1/feedback', data).success(function (data, status) {
|
||||
|
||||
Reference in New Issue
Block a user