Skip to content

Commit 843f54e

Browse files
author
u.aleroev
committed
chore: fix helper swagger_asset
1 parent 0e53b56 commit 843f54e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/helpers.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,6 @@ function swagger_asset(string $asset): string
5252
throw new RuntimeException(sprintf('Requested swagger asset file (%s) does not exists', $asset));
5353
}
5454

55-
return route(config('swagger-ui.routes.assets', 'docs.assets')) . '?v=' . md5_file($file);
55+
return route(config('swagger-ui.routes.assets', 'docs.assets'), $asset) . '?v=' . md5_file($file);
5656
}
5757
}

0 commit comments

Comments
 (0)