From 046ca40df3ad2eb212acdd22c5015ef1e59710ed Mon Sep 17 00:00:00 2001 From: Elnu <9874955+ElnuDev@users.noreply.github.com> Date: Wed, 17 Aug 2022 20:46:40 -0700 Subject: [PATCH] Remove unused testing term variable --- index.js | 1 - 1 file changed, 1 deletion(-) diff --git a/index.js b/index.js index 31adb62..74f83f8 100644 --- a/index.js +++ b/index.js @@ -5,7 +5,6 @@ const fetch = require("node-fetch"); app.get("/", (request, response) => { response.writeHead(200, { "Content-Type": "application/json" }); - const term = "漢字"; fetch("https://tatoeba.org/en/api_v0/search" + request.url.substring(request.url.indexOf("?"))) .then(response => response.text()) .then(body => {