mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-11 00:08:30 +01:00
fix: encode tag value
This commit is contained in:
parent
19aebbf774
commit
dbba23d7a6
@ -14,7 +14,7 @@ function tagFeature(featureToggle, tag) {
|
||||
}
|
||||
|
||||
function untagFeature(featureToggle, tag) {
|
||||
return fetch(`${URI}/${featureToggle}/tags/${tag.type}/${tag.value}`, {
|
||||
return fetch(`${URI}/${featureToggle}/tags/${tag.type}/${encodeURIComponent(tag.value)}`, {
|
||||
method: 'DELETE',
|
||||
headers,
|
||||
credentials: 'include',
|
||||
|
Loading…
Reference in New Issue
Block a user