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 d081df6295
commit 20812e3834
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": { "GatewayConfig": {
"Addresses": [ "Addresses": [
${ ${
range(fake.random.number({min: 1, max: 7)).map( range(fake.random.number({min: 1, max: 7})).map(
function(item, i) function(item, i)
{ {
return `"${fake.random.number({min: 1, max: 10}) > 8 ? `*.`: ``}${fake.internet.domainName()}:${fake.random.number({min: 0, max: 65535})}"`; return `"${fake.random.number({min: 1, max: 10}) > 8 ? `*.`: ``}${fake.internet.domainName()}:${fake.random.number({min: 0, max: 65535})}"`;