Skip to content
This repository was archived by the owner on Feb 21, 2026. It is now read-only.

Commit b65f57d

Browse files
authored
Merge pull request #147 from mpacer/fix_status_code
Update status code to reflect response from S3 on success (200 not 201)
2 parents 19f0f78 + 987fb0a commit b65f57d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bookstore/clone.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
xhr.responseType = "json";
3131
xhr.onload = function(e) {
3232
if (xhr.readyState === 4) {
33-
if (xhr.status === 201) {
33+
if (xhr.status === 200) {
3434
window.location.href = `{{ redirect_contents_url }}/${
3535
xhr.response.path
3636
}`;

0 commit comments

Comments
 (0)