Skip to content
This repository was archived by the owner on Mar 28, 2022. It is now read-only.

Commit 0951e32

Browse files
committed
style: fix sonar smell
1 parent 7f59f09 commit 0951e32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CustomRoutesVariants.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class CustomRoutesVariants {
3838
add(req, res, next) {
3939
const id = req.body.id;
4040
const routeVariant = this._core.mocks.plainRoutesVariants.find(
41-
(routeVariant) => routeVariant.id === id
41+
(routeVariantCandidate) => routeVariantCandidate.id === id
4242
);
4343
if (routeVariant) {
4444
this._core.mocks.useRouteVariant(id);

0 commit comments

Comments
 (0)