mirror of https://github.com/nextcloud/calendar
Merge pull request #597 from nextcloud/bugfix/noid/fix_var_names_in_mailerservice
fix property names in MailerService
This commit is contained in:
commit
628afd83db
|
@ -31,9 +31,9 @@ app.service('MailerService', ['$rootScope', 'DavClient',
|
|||
requesttoken : oc_requesttoken
|
||||
};
|
||||
var mailBody = {
|
||||
'to': dest,
|
||||
'recipient': dest,
|
||||
'url': url,
|
||||
'name': name
|
||||
'calendarName': name
|
||||
};
|
||||
return DavClient.request('POST', $rootScope.baseUrl + 'public/sendmail', headers, JSON.stringify(mailBody));
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue