Skip to content
This repository has been archived by the owner on Jul 15, 2021. It is now read-only.

Commit

Permalink
bug fixes including: corrected metadata url submitted to backend. cor…
Browse files Browse the repository at this point in the history
…rected 'submitted-by' info submitted to backend.
  • Loading branch information
banders committed Jul 11, 2018
1 parent d6d7a7e commit 3590252
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/register-api/register-api.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ export class RegisterApiComponent implements OnInit {
//prepare values that will be injected into the data object but
//which need non-trivial computation
var openApiSpecUrl = this.form1.get("openApiSpecUrl").value;
var existingMetadataUrl = this.yesNoToBool(this.form2.get('hasMetadataRecord').value);
var existingMetadataUrl = this.form2.get('metadataRecordUrl').value;
var supportsHttps = this.yesNoToBool(this.form2.get("supportsHttps").value);
var supportsCors = this.yesNoToBool(this.form2.get("supportsCors").value);
var useGateway = this.yesNoToBool(this.form2.get("useGateway").value);
Expand All @@ -297,7 +297,7 @@ export class RegisterApiComponent implements OnInit {
"role": "pointOfContact",
"private": "Display"
}
var submitterContact = this.form2.get("isPrincipalContact") ?
var submitterContact = this.form2.get("isPrincipalContact").value == "yes" ?
principalContact :
{
"name": this.form2.get("submitterContactName").value,
Expand Down

0 comments on commit 3590252

Please sign in to comment.