Skip to content

Commit

Permalink
fix for GET /cache API
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhilsinhaparseable committed Apr 10, 2024
1 parent 0d5f1fd commit 6a18205
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions server/src/handlers/http/modal/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -274,10 +274,7 @@ impl Server {
web::put()
.to(logstream::put_enable_cache)
.authorize_for_stream(Action::PutCacheEnabled),
),
)
.service(
web::resource("/cache")
)
// GET "/logstream/{logstream}/cache" ==> Get retention for given logstream
.route(
web::get()
Expand Down

0 comments on commit 6a18205

Please sign in to comment.