From 83a89181bc5dd2729c16ca31067ae243bf56cf4d Mon Sep 17 00:00:00 2001 From: James Cole Date: Sun, 5 Mar 2023 07:00:04 +0100 Subject: [PATCH] Add JSON.stringify --- public/v1/js/ff/accounts/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/v1/js/ff/accounts/index.js b/public/v1/js/ff/accounts/index.js index 6b3a18f123..e03353a2de 100644 --- a/public/v1/js/ff/accounts/index.js +++ b/public/v1/js/ff/accounts/index.js @@ -88,7 +88,7 @@ function stopSorting() { //$.post('api/v1/accounts/' + id, {order: newOrder, _token: token}); $.ajax({ url: 'api/v1/accounts/' + id, - data: {order: newOrder}, + data: JSON.stringify({order: newOrder}), type: 'PUT', }); });