Skip to content

Commit

Permalink
fix(nginx): blocking strategy correctly supports groups
Browse files Browse the repository at this point in the history
When supplying group, it still tried to split the names.

Fixes #244
  • Loading branch information
acouvreur committed Feb 5, 2024
1 parent 223da02 commit 9d69c98
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion plugins/nginx/njs/sablier.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ function buildRequest(c) {
function createBlockingUrl(config) {
const url = `${config.sablierUrl}/api/strategies/blocking`
const query = {
names: config.names.split(",").map(name => name.trim()),
session_duration: config.sessionDuration,
timeout:config.timeout,
};
Expand Down

0 comments on commit 9d69c98

Please sign in to comment.