Apply suggestions from code review

Co-authored-by: David Rowe <david@ctrlaltstudio.com>
This commit is contained in:
kasenvr 2020-10-14 02:58:20 -04:00 committed by GitHub
parent 065971381d
commit 69fe471374
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 7 deletions

View file

@ -177,7 +177,7 @@ function promptToCreateDomainID() {
createDomainIDPrompt(function (label) {
var domainJSON = {
"label": label
}
};
$.post("/api/domains", domainJSON, function (data) {
// we successfully created a domain ID, set it on that field
@ -188,7 +188,7 @@ function promptToCreateDomainID() {
"metaverse": {
"id": domainID
}
}
};
// POST the form JSON to the domain-server settings.json endpoint so the settings are saved
postSettings(formJSON, goToNextStep);