Skip to content

Commit

Permalink
fix: remove debugs
Browse files Browse the repository at this point in the history
  • Loading branch information
lostb1t committed Jul 16, 2024
1 parent 88d91b2 commit b508aa0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ run:
REPLEX_ENABLE_CONSOLE=0 \
REPLEX_CACHE_TTL=0 \
REPLEX_HUB_RESTRICTIONS=1 \
RUST_LOG="info,replex=debug,replex::transform=debug" \
RUST_LOG="info,replex=info,replex::transform=debug" \
REPLEX_NTF_WATCHLIST_FORCE=0 \
RUSTFLAGS=-Awarnings \
cargo watch -w src -x run
Expand Down
5 changes: 2 additions & 3 deletions src/routes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -553,12 +553,11 @@ pub async fn transform_hubs_response(
let params: PlexContext = req.extract().await.unwrap();
let plex_client = PlexClient::from_request(req, params.clone());
let content_type = get_content_type_from_headers(req.headers_mut());
dbg!(&res);
dbg!(&req);

let mut container: MediaContainerWrapper<MediaContainer> =
from_salvo_response(res).await?;
container.content_type = content_type;
dbg!("GO");

TransformBuilder::new(plex_client, params.clone())
.with_filter(HubRestrictionFilter)
.with_transform(HubStyleTransform { is_home: true })
Expand Down

0 comments on commit b508aa0

Please sign in to comment.