From 709f009f9b0014acc087f154bca2f5f3ac7dec71 Mon Sep 17 00:00:00 2001 From: Paulo Castro Date: Sun, 25 Oct 2020 16:52:31 +0000 Subject: [PATCH] config generate: Fix "Application is ambiguous" when app slug is used Connects-to: #1893 Change-type: patch --- lib/utils/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils/config.ts b/lib/utils/config.ts index 312a9179..1eabfa76 100644 --- a/lib/utils/config.ts +++ b/lib/utils/config.ts @@ -68,7 +68,7 @@ export async function generateBaseConfig( }; const config = (await getBalenaSdk().models.os.getConfig( - application.app_name, + application.slug, options, )) as ImgConfig & { apiKey?: string }; // os.getConfig always returns a config for an app