5c5b35f9e2
Build AAB — WhatSMS Gateway / build (push) Failing after 34s
- namespace, applicationId, todos os ficheiros .kt/.xml/.gradle actualizados - directório me/capcom/smsgateway/ → pt/whatsms/gateway/ - zero referências a capcom no código fonte
16 lines
521 B
Kotlin
16 lines
521 B
Kotlin
package pt.whatsms.gateway.domain
|
|
|
|
import pt.whatsms.gateway.BuildConfig
|
|
import pt.whatsms.gateway.modules.health.domain.CheckResult
|
|
import pt.whatsms.gateway.modules.health.domain.HealthResult
|
|
import pt.whatsms.gateway.modules.health.domain.Status
|
|
|
|
class HealthResponse(
|
|
healthResult: HealthResult,
|
|
|
|
val version: String = BuildConfig.VERSION_NAME,
|
|
val releaseId: Int = BuildConfig.VERSION_CODE,
|
|
) {
|
|
val status: Status = healthResult.status
|
|
val checks: Map<String, CheckResult> = healthResult.checks
|
|
} |