Make sure token is URL safe

This commit is contained in:
Mcat12
2016-12-04 13:58:24 -05:00
parent cc6e029f78
commit 3c35afe217
+1 -1
View File
@@ -14,7 +14,7 @@ $("#flip-status").on("click", (e) => {
const btnStatus = $("#flip-status");
const status = $("#status");
const text = btnStatus.text().trim();
const token = $("#token").html();
const token = encodeURIComponent($("#token").html());
switch(text) {
case "Enable":