Add an ApiToken model, and an endpoint to get one
This commit is contained in:
@@ -156,6 +156,8 @@ fn main() {
|
||||
routes::errors::csrf_violation
|
||||
])
|
||||
.mount("/api/v1", routes![
|
||||
api::oauth,
|
||||
|
||||
api::apps::create,
|
||||
|
||||
api::posts::get,
|
||||
|
||||
Reference in New Issue
Block a user