From b8bf9b77ef59d7e629a993e72e21c69ec1dfc5d4 Mon Sep 17 00:00:00 2001 From: yohan-pannet-bbo <51915925+yohan-pannet-bbo@users.noreply.github.com> Date: Fri, 30 Apr 2021 12:31:29 +0200 Subject: [PATCH] add us2 & us3 to allowed_regions (#8) --- src/r7insight.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/r7insight.js b/src/r7insight.js index 1b6e6a5..0244ba0 100644 --- a/src/r7insight.js +++ b/src/r7insight.js @@ -411,7 +411,7 @@ }; function validate_region(region) { - var allowed_regions = ['eu', 'us', 'ca', 'au', 'ap']; + var allowed_regions = ['eu', 'us', 'us2', 'us3', 'ca', 'au', 'ap']; if (region) { if (allowed_regions.indexOf(region) > -1) { return region;