From d18491b7a75fc9fa09ac18da322b28512f233d10 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 058f704c219a10d8358020793c2ab966e8ff2f9b 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;