chore: updated feeds api
2b7370e5
1 file(s) · +0 −3
| 36 | 36 | } |
|
| 37 | 37 | ||
| 38 | 38 | pub async fn list_items( |
|
| 39 | - | _auth: ApiAuth, |
|
| 40 | 39 | State(state): State<Arc<AppState>>, |
|
| 41 | 40 | Query(q): Query<ListItemsQuery>, |
|
| 42 | 41 | ) -> Response { |
|
| 287 | 286 | // ── Categories ──────────────────────────────────────────────────────── |
|
| 288 | 287 | ||
| 289 | 288 | pub async fn list_categories( |
|
| 290 | - | _auth: ApiAuth, |
|
| 291 | 289 | State(state): State<Arc<AppState>>, |
|
| 292 | 290 | ) -> Response { |
|
| 293 | 291 | match fdb::list_categories(&state.db) { |
|
| 451 | 449 | } |
|
| 452 | 450 | ||
| 453 | 451 | pub async fn get_settings( |
|
| 454 | - | _auth: ApiAuth, |
|
| 455 | 452 | State(state): State<Arc<AppState>>, |
|
| 456 | 453 | ) -> Response { |
|
| 457 | 454 | let poll = fdb::get_setting(&state.db, POLL_INTERVAL_KEY) |
|