pub(crate) async fn edit_post_post(
    cookie: Option<TypedHeader<Cookie>>,
    __arg1: Path<u32>,
    __arg2: ValidatedForm<FormPost>
) -> Result<impl IntoResponse, AppError>
Expand description

POST /post/edit/:pid post create/edit page

if pid is 0, then create a new post