We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fed4675 commit ed673e6Copy full SHA for ed673e6
backend/server/templates/base.html
@@ -175,7 +175,7 @@ <h2>Try a Sample Request</h2>
175
`<strong>API Response:</strong> ${data.status} ${data.statusText}<br/><strong>Content:</strong> ${data.responseText}`
176
);
177
};
178
- const susccess_response = (data) => {
+ const success_response = (data) => {
179
$(".api-response").html(
180
`<strong>API Response:</strong> OK<br/><strong>Content:</strong> ${JSON.stringify(
181
data,
@@ -190,7 +190,7 @@ <h2>Try a Sample Request</h2>
190
const form = $("form.ajax-post");
191
$.post(form.attr("action"), form.serialize())
192
.fail(error_response)
193
- .done(susccess_response);
+ .done(success_response);
194
return false;
195
});
196
0 commit comments