Skip to content

Commit ca1b40e

Browse files
committed
Fix InterrogationHordeRunnable
1 parent 65561f0 commit ca1b40e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/me/Logicism/JavaHordeBridge/core/InterrogationGenerator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ public JSONObject startInterrogationGeneration(String imageURL) {
137137
headers.put("User-Agent", "Java 11 / Java Horde Bridge " + HordeBridge.BRIDGE_VERSION);
138138
while (retryCount < 5) {
139139
try {
140-
BrowserData generationData = BrowserClient.executePOSTRequest(new URL(kaiURL + "/interrogation"), new JSONObject().put("url", imageURL).toString(), headers);
140+
BrowserData generationData = BrowserClient.executePOSTRequest(new URL(kaiURL + "/interrogate"), new JSONObject().put("url", imageURL).toString(), headers);
141141

142142
if (generationData.getResponseCode() == 200) {
143143
generationObject = new JSONObject(BrowserClient.requestToString(generationData.getResponse()));

0 commit comments

Comments
 (0)