Skip to content

Commit 70f9968

Browse files
committed
AC-1271: Add rate limiting for payment information endpoint and mutation
1 parent a3c5f27 commit 70f9968

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/code/Magento/Quote/Model/Backpressure/Config/PeriodValue.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public function beforeSave()
6464
if (!array_key_exists($value, $availableValues)) {
6565
throw new LocalizedException(
6666
__(
67-
'Please select a valid speed limit period in seconds: %1',
67+
'Please select a valid rate limit period in seconds: %1',
6868
implode(', ', array_keys($availableValues))
6969
)
7070
);

app/code/Magento/Quote/i18n/en_US.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,6 @@ Carts,Carts
7070
"Validated Vat Number","Validated Vat Number"
7171
"Invalid Quote Item id %1","Invalid Quote Item id %1"
7272
"Number above 0 is required for the limit","Number above 0 is required for the limit"
73-
"Please select a valid speed limit period in seconds: %1.","Please select a valid speed limit period in seconds: %1."
73+
"Please select a valid rate limit period in seconds: %1.","Please select a valid rate limit period in seconds: %1."
7474
"Identity type not found","Identity type not found"
7575
"Invalid order backpressure limit config","Invalid order backpressure limit config"

0 commit comments

Comments
 (0)