Skip to content
This repository has been archived by the owner on Aug 1, 2022. It is now read-only.

Commit

Permalink
chore(proxy): remove avatar endpoint
Browse files Browse the repository at this point in the history
Deletes the leftover avatar endpoint from yesteryear.

Signed-off-by: Alexander Simmerl <a.simmerl@gmail.com>
  • Loading branch information
xla committed May 25, 2021
1 parent f90b340 commit 7c52cc7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 92 deletions.
3 changes: 0 additions & 3 deletions proxy/api/src/http.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ use radicle_daemon::{net, signer::BoxedSigner, state, LocalIdentity, PeerId};

use crate::{context, notification::Subscriptions};

mod avatar;
mod control;
mod error;
mod identity;
Expand Down Expand Up @@ -41,7 +40,6 @@ pub fn api(
) -> impl Filter<Extract = impl Reply, Error = Rejection> + Clone {
let test = ctx.test();

let avatar_filter = path("avatars").and(avatar::get_filter());
let control_filter = path("control")
.map(move || test)
.and_then(|enable| async move {
Expand All @@ -62,7 +60,6 @@ pub fn api(
let source_filter = path("source").and(source::filters(ctx));

let api = path("v1").and(combine!(
avatar_filter,
control_filter,
identity_filter,
notification_filter,
Expand Down
89 changes: 0 additions & 89 deletions proxy/api/src/http/avatar.rs

This file was deleted.

0 comments on commit 7c52cc7

Please sign in to comment.