projectlib/remote/
domain_request_remote.rs

1
2
3
4
5
6
7
8
9
10
11
12
use common::remote::get;
use uuid::Uuid;
use hyper::HeaderMap;

use crate::dto::domain_request_response::DomainRequestResponse;

pub fn find(
    id: Uuid,
    headers: HeaderMap,
) -> Result<DomainRequestResponse, String> {
    get("project", format!("/domainRequest/{id}"), headers)
}