We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f8de80 commit eee3349Copy full SHA for eee3349
src/services/tag.rs
@@ -68,6 +68,12 @@ impl Service {
68
},
69
}
70
71
+
72
+ pub async fn get_tags(&self) -> Result<Vec<TorrentTag>, ServiceError> {
73
+ self.authorization_service.authorize(ACTION::GetTags, None).await?;
74
75
+ self.tag_repository.get_all().await.map_err(|_| ServiceError::DatabaseError)
76
+ }
77
78
79
pub struct DbTagRepository {
0 commit comments