mirror of
https://github.com/christianvidalwolf-prog/CrazeAnalytix.git
synced 2026-08-03 16:45:24 +02:00
Fix: export isAllowedCustomer to resolve build error
This commit is contained in:
@@ -303,7 +303,7 @@ const getColumnValue = (row: any, aliases: (string | RegExp)[]): string => {
|
|||||||
export const PAN_EU_COUNTRIES = ['Amazon DE', 'Amazon IT', 'Amazon FR', 'Amazon ES', 'Amazon NL', 'Amazon PL', 'Amazon BE', 'Amazon SE'];
|
export const PAN_EU_COUNTRIES = ['Amazon DE', 'Amazon IT', 'Amazon FR', 'Amazon ES', 'Amazon NL', 'Amazon PL', 'Amazon BE', 'Amazon SE'];
|
||||||
const ALLOWED_CUSTOMERS = [...PAN_EU_COUNTRIES, 'Amazon UK', 'Amazon SC', 'Pan-EU'];
|
const ALLOWED_CUSTOMERS = [...PAN_EU_COUNTRIES, 'Amazon UK', 'Amazon SC', 'Pan-EU'];
|
||||||
|
|
||||||
const isAllowedCustomer = (customer: string): boolean => {
|
export const isAllowedCustomer = (customer: string): boolean => {
|
||||||
if (!customer) return false;
|
if (!customer) return false;
|
||||||
const normCustomer = customer.trim().toLowerCase();
|
const normCustomer = customer.trim().toLowerCase();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user