From 3510aa7edb534b1668ddd791e3288374cc518381 Mon Sep 17 00:00:00 2001 From: Morten Moeller Date: Sat, 16 Mar 2024 11:53:30 -0500 Subject: [PATCH] uses save json instead of toJSON to avoid ACL object being parsed back and failing save if the queue do have to save from store. --- src/EventuallyQueue.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/EventuallyQueue.js b/src/EventuallyQueue.js index 88df1d3bd..e68c59e4f 100644 --- a/src/EventuallyQueue.js +++ b/src/EventuallyQueue.js @@ -117,7 +117,7 @@ const EventuallyQueue = { queueData[index] = { queueId, action, - object: object.toJSON(), + object: object._getSaveJSON(), serverOptions, id: object.id, className: object.className,