use crate::error::ApiResult;
use crate::models::sync::SyncResponse;
use reqwest::Method;
use super::SureClient;
impl SureClient {
pub async fn trigger_sync(&self) -> ApiResult<SyncResponse> {
self.execute_request(Method::POST, "/api/v1/sync", None, None)
.await
}
}