summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-07-07 23:57:58 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-07-07 23:57:58 +0800
commit5c1b91c203f80d88eae71c5930a58f16d408d603 (patch)
treef7cb6daecfaea27707eae213c4143d2a04ce2819
parent1d01ed449e8b78abc208d01461fd00715852dea7 (diff)
The provisions are taken from global config
-rw-r--r--usertag/anteraja_cost.tag4
1 files changed, 2 insertions, 2 deletions
diff --git a/usertag/anteraja_cost.tag b/usertag/anteraja_cost.tag
index b2b6117..b1c03c9 100644
--- a/usertag/anteraja_cost.tag
+++ b/usertag/anteraja_cost.tag
@@ -2,8 +2,8 @@ UserTag anteraja_cost Order district city province weight
UserTag anteraja_cost Routine <<EOR
sub {
my ($district, $city, $province, $weight) = @_;
- my @provisions = ( "__ANTERAJA_BASE_PATH__", "__ANTERAJA_ACCESS_KEY_ID__",
- "__ANTERAJA_SECRET_ACCESS_KEY__" );
+ my @provisions = ( "@@ANTERAJA_BASE_PATH@@", "@@ANTERAJA_ACCESS_KEY_ID@@",
+ "@@ANTERAJA_SECRET_ACCESS_KEY@@" );
my $origin = $Tag->query({sql => "SELECT code FROM \
shipping WHERE district='". "__DISTRICT__" ."' AND city='"
. "__CITY__" . "' AND province='" . "__PROVINCE__" . "'", wantarray