rustploy 0.1.55

Rustploy PaaS daemon — lightweight self-hosted deployment platform
1
2
3
4
5
6
7
8
9
10
//! `Command::BackupDestinationGet`: o destino S3 dos backups, sem a chave secreta.

use crate::bootstrap::state::AppState;
use shared::Response;

pub async fn handle(state: AppState) -> Response {
    Response::BackupDestination(
        crate::features::data_backup::destination::view(&state.db, &state.secrets).await,
    )
}