forked from kemitix/git-next
fix(server): stop logging all network requests
This commit is contained in:
parent
d64024e1ab
commit
0721b63448
2 changed files with 3 additions and 3 deletions
|
@ -46,7 +46,7 @@ pub async fn load(
|
|||
network::RequestBody::None,
|
||||
network::ResponseType::Json,
|
||||
None,
|
||||
network::NetRequestLogging::Both,
|
||||
network::NetRequestLogging::None,
|
||||
);
|
||||
let result = net.get::<ForgeContentsResponse>(request).await;
|
||||
let response = result.map_err(|e| match e {
|
||||
|
@ -140,7 +140,7 @@ pub async fn validate(
|
|||
network::RequestBody::None,
|
||||
network::ResponseType::Json,
|
||||
None,
|
||||
network::NetRequestLogging::Both,
|
||||
network::NetRequestLogging::None,
|
||||
);
|
||||
let result = net.get::<BranchList>(request).await;
|
||||
let response = result.map_err(|e| {
|
||||
|
|
|
@ -41,7 +41,7 @@ async fn get_commit_history(
|
|||
network::RequestBody::None,
|
||||
network::ResponseType::Json,
|
||||
None,
|
||||
network::NetRequestLogging::Both,
|
||||
network::NetRequestLogging::None,
|
||||
);
|
||||
let result = net.get::<Vec<Commit>>(request).await;
|
||||
let response = result.map_err(|e| {
|
||||
|
|
Loading…
Reference in a new issue