fix(server): stop logging all network requests
All checks were successful
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful

This commit is contained in:
Paul Campbell 2024-04-10 11:40:06 +01:00
parent d64024e1ab
commit 0721b63448
2 changed files with 3 additions and 3 deletions

View file

@ -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| {

View file

@ -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| {