Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/services/testing-distribution.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@ export async function getDistributionProfiles(options: OptionsType = {}) {
}

export async function getDistributionProfileById(options: OptionsType<{ distProfileId: string }>) {
const distributionProfile = await appcircleApi.get(`distribution/v2/profiles/${options.distProfileId}`, {
// addAppVersions=true is requested explicitly: getLatestAppVersionId and the post-upload
// version resolution read profile.appVersions from this response. The backend currently
// embeds them by default, but the profile-detail endpoints are moving to opt-in embedding
// (BE-9216) — being explicit keeps this working when that default flips.
const distributionProfile = await appcircleApi.get(`distribution/v2/profiles/${options.distProfileId}?addAppVersions=true`, {
headers: getHeaders(),
});
return distributionProfile.data;
Expand Down