mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-27 01:25:52 -05:00
json-encode body
This commit is contained in:
parent
9ace64fda7
commit
3022a565ce
1 changed files with 1 additions and 0 deletions
|
@ -143,6 +143,7 @@ module.exports.clearAdminMessage = function (messageType, messageId, adminMessag
|
|||
uri: '/site-api/messages/messages-delete/',
|
||||
method: 'POST',
|
||||
useCsrf: true,
|
||||
json: true,
|
||||
body: {
|
||||
alertType: messageType,
|
||||
alertId: messageId
|
||||
|
|
Loading…
Reference in a new issue