From d53ff2552943408abe423bec5682181fe79a3842 Mon Sep 17 00:00:00 2001 From: Claire Date: Thu, 13 Nov 2025 16:42:14 +0100 Subject: [PATCH] [Glitch] Fix error when sending new posts Port 98c8c1ebd278f59e97c7d17628e7710cd4c933d4 to glitch-soc Signed-off-by: Claire --- app/javascript/flavours/glitch/actions/timelines.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/flavours/glitch/actions/timelines.js b/app/javascript/flavours/glitch/actions/timelines.js index 0007dcad19..4028d3b10a 100644 --- a/app/javascript/flavours/glitch/actions/timelines.js +++ b/app/javascript/flavours/glitch/actions/timelines.js @@ -33,7 +33,7 @@ export const loadPending = timeline => ({ timeline, }); -export function updateTimeline(timeline, status, { accept = undefined, bogusQuotePolicy = false }) { +export function updateTimeline(timeline, status, { accept = undefined, bogusQuotePolicy = false } = {}) { return (dispatch, getState) => { if (typeof accept === 'function' && !accept(status)) { return;