ui: fix mismatched curly brace in mock-api (#10044)

* ui: fix mismatched curly brace in mock-api

* ui: add missing closing paren in mock-api
This commit is contained in:
Mike Morris 2021-04-15 18:24:52 -04:00 committed by GitHub
parent 928d3a6d30
commit f00d5e3a2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ ${ fake.random.number({min: 1, max: 10}) > 2 ? `
"GatewayConfig": {
"Addresses": [
${
range(fake.random.number({min: 1, max: 7)).map(
range(fake.random.number({min: 1, max: 7})).map(
function(item, i)
{
return `"${fake.random.number({min: 1, max: 10}) > 8 ? `*.`: ``}${fake.internet.domainName()}:${fake.random.number({min: 0, max: 65535})}"`;