Skip to content

Commit

Permalink
chore: update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kwaa committed Sep 30, 2024
1 parent bbe8695 commit 0f483db
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions crates/apub/src/actors/db_user_impl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,16 @@ impl ApubUser {
Ok(user.into())
}

/// For `hatsu_scheduler::update::full_update`
/// For `hatsu_cron::tasks::update::full_update`
#[must_use]
pub fn to_user_feed_top_level(self) -> UserFeedTopLevel {
UserFeedTopLevel {
hatsu: self.hatsu.clone().map(UserFeedHatsu::from_db),
title: self.name.clone(),
description: self.summary.clone(),
icon: self.icon.clone().and_then(|url| Url::parse(&url).ok()),
// TOOD: use language
// TODO: use language
language: Option::default(),
// Default::default()
feed_url: Url::parse("https://hatsu.local").unwrap(),
next_url: Option::default(),
items: Vec::default(),
Expand Down

0 comments on commit 0f483db

Please sign in to comment.