style: auto format
This commit is contained in:
@@ -330,7 +330,9 @@ async function handler(ctx) {
|
||||
item: items,
|
||||
};
|
||||
} catch (error: any) {
|
||||
if (error?.name !== 'FetchError') { throw error; }
|
||||
if (error?.name !== 'FetchError') {
|
||||
throw error;
|
||||
}
|
||||
// Fallback to arc outboundfeeds if API fails
|
||||
const arcUrl = topic ? `https://www.reuters.com/arc/outboundfeeds/v4/mobile/section${section_id}?outputType=json` : `https://www.reuters.com/arc/outboundfeeds/v4/mobile/section/${category}/?outputType=json`;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user