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:
parent
d081df6295
commit
20812e3834
|
@ -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})}"`;
|
||||
|
|
Loading…
Reference in New Issue