Able to get token
This commit is contained in:
@@ -14,6 +14,8 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
}
|
||||
};
|
||||
|
||||
println!("App: {app:?}");
|
||||
|
||||
let auth = catapult::service::auth::Auth {
|
||||
app: app.clone()
|
||||
};
|
||||
@@ -26,6 +28,8 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
}
|
||||
};
|
||||
|
||||
println!("Access token: {}", token.access_token);
|
||||
|
||||
let mut svc = catapult::service::Service {
|
||||
app: app.clone(),
|
||||
token
|
||||
|
||||
Reference in New Issue
Block a user