Skip to content

Commit e86c4fc

Browse files
author
hjen_adobe
committed
revert back
1 parent a927175 commit e86c4fc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/controllers/llmo/brand-presence/llmo-stat-cards.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
*/
1212

1313
import { ok, badRequest } from '@adobe/spacecat-shared-http-utils';
14-
import { BRAND_PRESENCE_CORS_HEADERS } from './cors.js';
1514

1615
/**
1716
* Calculate Week-over-Week trend from weekly data
@@ -487,7 +486,7 @@ export async function getBrandPresenceStats(context, getSiteAndValidateLlmo) {
487486
});
488487
} catch (dbError) {
489488
log.error(`[BRAND-PRESENCE-STATS] Database query failed for siteId: ${siteId} - error: ${dbError.message}, stack: ${dbError.stack}`);
490-
return badRequest(`Failed to fetch brand presence stats: ${dbError.message}`, BRAND_PRESENCE_CORS_HEADERS);
489+
return badRequest(`Failed to fetch brand presence stats: ${dbError.message}`);
491490
}
492491
} catch (error) {
493492
const totalDuration = Date.now() - startTime;

0 commit comments

Comments
 (0)