feat: cache for posts list
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
use crate::api::{CurrentUser, API};
|
||||
use crate::db_conn::Db;
|
||||
use crate::random_hasher::RandomHasher;
|
||||
use rocket::serde::json::{json, Value};
|
||||
use rocket::State;
|
||||
use crate::db_conn::Db;
|
||||
|
||||
#[get("/systemlog")]
|
||||
pub async fn get_systemlog(user: CurrentUser, rh: &State<RandomHasher>, db: Db) -> API<Value> {
|
||||
|
||||
Reference in New Issue
Block a user