From 457a950f77e3215be2953d36f7d5577096864340 Mon Sep 17 00:00:00 2001 From: Mathieu Ancelin Date: Tue, 25 May 2021 11:33:01 +0200 Subject: [PATCH] Format code before release --- otoroshi/javascript/src/pages/ServiceApiKeysPage.js | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/otoroshi/javascript/src/pages/ServiceApiKeysPage.js b/otoroshi/javascript/src/pages/ServiceApiKeysPage.js index 37158efb46..653122e13a 100644 --- a/otoroshi/javascript/src/pages/ServiceApiKeysPage.js +++ b/otoroshi/javascript/src/pages/ServiceApiKeysPage.js @@ -643,11 +643,13 @@ export class ServiceApiKeysPage extends Component { parentProps={this.props} selfUrl={`lines/${this.props.params.lineId}/services/${this.props.params.serviceId}/apikeys`} defaultTitle="Service Api Keys" - defaultValue={() => BackOfficeServices.createNewApikey().then((apk) => ({ - ...apk, - clientName: `${faker.name.firstName()} ${faker.name.lastName()}'s api-key`, - authorizedEntities: this.state.service.groups.map((g) => 'group_' + g), - }))} + defaultValue={() => + BackOfficeServices.createNewApikey().then((apk) => ({ + ...apk, + clientName: `${faker.name.firstName()} ${faker.name.lastName()}'s api-key`, + authorizedEntities: this.state.service.groups.map((g) => 'group_' + g), + })) + } _defaultValue={() => ({ clientId: faker.random.alphaNumeric(16), clientSecret: faker.random.alphaNumeric(64),