refactor(repo): refresh topic usecase
zhenyi committed
Modified lib/repo/features/topic/usecase.rs lib/repo/features/topic/usecase.rs +3 −3 View lib/repo/features/topic/usecase.rs
@@ -7,7 +7,7 @@
77use crate::features::RepoService;
88use crate::path::{normalize_topic, sanitize_topics};
99
10use super::types::{RepoTopicOptions, TopicList, TopicSearchQuery, TopicSearchResult, TopicView};
10use super::{RepoTopicOptions, TopicList, TopicSearchQuery, TopicSearchResult, TopicView};
1111
1212fn require_authenticated(actor: Uuid) -> RepoResult<()> {
1313 if actor.is_nil() {
@@ -194,8 +194,8 @@
194194 id: t.id,
195195 name: t.name.clone(),
196196 repo_count: 0,
197 created_at: super::types::fmt_ts_pub(t.created_at),
198 updated_at: super::types::fmt_ts_pub(t.updated_at),
197 created_at: super::fmt_ts_pub(t.created_at),
198 updated_at: super::fmt_ts_pub(t.updated_at),
199199 })
200200 .collect();
201201 Ok(TopicSearchResult { topics: items })