config generate: Stop fetching unnecessary app fields

Change-type: patch
This commit is contained in:
Thodoris Greasidis 2023-05-20 00:30:03 +03:00
parent 3c93db8449
commit 15dac6f194

View File

@ -147,6 +147,7 @@ export default class ConfigGenerateCmd extends Command {
public async getApplication(balena: BalenaSDK, fleet: string) {
const { getApplication } = await import('../../utils/sdk');
return await getApplication(balena, fleet, {
$select: 'slug',
$expand: {
is_for__device_type: { $select: 'slug' },
},