diff --git a/app.js b/app.js index 204f7e1..19c97cd 100644 --- a/app.js +++ b/app.js @@ -186,7 +186,7 @@ function update() { function tag() { var id = document.getElementById("tag_id").value; - const url = `https://api.www.documentcloud.org/api/documents/${id}/date/test_key/`; + const url = `https://api.www.documentcloud.org/api/documents/${id}/data/test_key/`; fetch(url, { method: "PUT", credentials: "include",