From 9455d438e25e147a32ffaced99fce85b1d2a2cd0 Mon Sep 17 00:00:00 2001 From: Akis Kesoglou Date: Tue, 20 Mar 2018 13:06:44 +0200 Subject: [PATCH] Formatting fixes --- lib/utils/helpers.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/utils/helpers.ts b/lib/utils/helpers.ts index 9c2a7938..88bbfcf9 100644 --- a/lib/utils/helpers.ts +++ b/lib/utils/helpers.ts @@ -141,13 +141,17 @@ export function getApplication(applicationName: string) { const extraOptions = { $expand: { application_type: { - $select: [ 'name', 'slug', 'supports_multicontainer', 'is_legacy' ], + $select: ['name', 'slug', 'supports_multicontainer', 'is_legacy'], }, }, }; if (match) { - return resin.models.application.getAppByOwner(match[2], match[1], extraOptions); + return resin.models.application.getAppByOwner( + match[2], + match[1], + extraOptions, + ); } return resin.models.application.get(applicationName, extraOptions);