pub async fn create( db: &State<Surreal<Client>>, category: Json<CreateCategory<'_>>, ) -> Result<OwnedId>