I think I misunderstood the xhr docs

This commit is contained in:
Matthew Taylor 2017-08-31 23:39:49 -04:00
parent 3022a565ce
commit 779c42717b

View file

@ -143,8 +143,7 @@ module.exports.clearAdminMessage = function (messageType, messageId, adminMessag
uri: '/site-api/messages/messages-delete/',
method: 'POST',
useCsrf: true,
json: true,
body: {
json: {
alertType: messageType,
alertId: messageId
}