Rename field

This commit is contained in:
oSumAtrIX
2024-07-01 00:47:57 +02:00
parent df32531770
commit d9c6e521a6
2 changed files with 6 additions and 6 deletions

View File

@@ -31,20 +31,20 @@ internal class PatchesService(
fun ConfigurationRepository.AssetConfiguration.asset(
release: BackendRepository.BackendOrganization.BackendRepository.BackendRelease,
assetType: APIAssetType,
assetName: APIAssetName,
) = APIAsset(
release.assets.first(assetRegex).downloadUrl,
release.assets.first(signatureAssetRegex).downloadUrl,
assetType,
assetName,
)
val patchesAsset = configurationRepository.patches.asset(
patchesRelease,
APIAssetType.PATCHES,
APIAssetName.PATCHES,
)
val integrationsAsset = configurationRepository.integrations.asset(
integrationsRelease,
APIAssetType.INTEGRATION,
APIAssetName.INTEGRATION,
)
return APIRelease(