From 2e9c292bb989ffff2c99aa2a6062962c913b3586 Mon Sep 17 00:00:00 2001 From: Vika Date: Tue, 9 Jul 2024 22:43:21 +0300 Subject: database: use Url to represent user authorities This makes the interface more consistent and resistant to misuse. --- src/micropub/util.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/micropub/util.rs') diff --git a/src/micropub/util.rs b/src/micropub/util.rs index b6a045d..0633ce9 100644 --- a/src/micropub/util.rs +++ b/src/micropub/util.rs @@ -212,7 +212,7 @@ pub(crate) async fn create_feed( }), user, ); - storage.put_post(&feed, user.me.as_str()).await?; + storage.put_post(&feed, &user.me).await?; storage.add_to_feed(channel, uid).await } -- cgit 1.4.1