(&self, code: String)
| 535 | |
| 536 | #[tracing::instrument(level = "debug", skip(self, code))] |
| 537 | async fn authorize(&self, code: String) -> Result<()> { |
| 538 | tracing::info!("Authorizing with code {}", code); |
| 539 | *self.tokens.lock().await = Some( |
| 540 | authorize( |
| 541 | "MoosyncSpotifyRefreshToken", |
| 542 | code, |
| 543 | self.verifier.lock().await.take(), |
| 544 | &self.app, |
| 545 | ) |
| 546 | .await?, |
| 547 | ); |
| 548 | |
| 549 | self.create_api_client().await; |
| 550 | Ok(()) |
| 551 | } |
| 552 | |
| 553 | #[tracing::instrument(level = "debug", skip(self, pagination))] |
| 554 | async fn fetch_user_playlists( |
nothing calls this directly
no test coverage detected