Skip to content

Commit 3300c01

Browse files
committed
update newItem endpoint.
1 parent 748fbd2 commit 3300c01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/deployFrontend/static/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ $('#submit').click(function(e) {
1313

1414
var ajaxRequest = $.ajax({
1515
type: "POST",
16-
url: `${API_ENDPOINT}/new-item`,
16+
url: `${API_ENDPOINT}/newItem`,
1717
data: JSON.stringify(inputData),
1818
contentType: "application/json",
1919
dataType: "text",

0 commit comments

Comments
 (0)