url encode tag id
This commit is contained in:
parent
7e431cffd7
commit
740f058a18
@ -87,7 +87,7 @@
|
||||
}
|
||||
|
||||
async function deleteTag(id) {
|
||||
const res = await axios.delete('/api/{{.guildId}}/tags/' + id);
|
||||
const res = await axios.delete('/api/{{.guildId}}/tags/' + encodeURI(id));
|
||||
if (res.status === 200 && res.data.success) {
|
||||
const tr = document.getElementById(id);
|
||||
tr.parentNode.removeChild(tr);
|
||||
|
Loading…
x
Reference in New Issue
Block a user