Fix broken change

This commit is contained in:
dangered wolf 2023-08-22 00:45:58 -04:00
parent d1816545af
commit ec493b2892
No known key found for this signature in database
GPG key ID: 41E4D37680ED8B58
2 changed files with 2 additions and 3 deletions

View file

@ -256,8 +256,7 @@ export const fetchConversation = async (
}) })
)}&fieldToggles=${encodeURIComponent( )}&fieldToggles=${encodeURIComponent(
JSON.stringify({ JSON.stringify({
// TODO Figure out what this property does withArticleRichContentState: true
withArticleRichContentState: false
}) })
)}`, )}`,
event, event,

View file

@ -25,7 +25,7 @@ const statusRequest = async (
/* Let's return our HTML version for wayback machine (we can add other archivers too in future) */ /* Let's return our HTML version for wayback machine (we can add other archivers too in future) */
if ( if (
['archive.org', 'Wayback Machine'].some(service => ['archive.org', 'Wayback Machine'].some(service =>
request.headers.get('Via').includes(service) request.headers.get('Via')?.includes?.(service)
) )
) { ) {
console.log('Request from archive.org'); console.log('Request from archive.org');