Rename: with07() -> with()

This commit is contained in:
Kitaiti Makoto
2022-05-03 01:20:40 +09:00
parent ccd3c8a3f2
commit 9791607793
2 changed files with 23 additions and 23 deletions
+12 -12
View File
@@ -51,18 +51,18 @@ impl_into_inbox_result! {
pub fn inbox(conn: &DbConn, act: serde_json::Value) -> Result<InboxResult, Error> {
Inbox::handle(conn, act)
.with07::<User, Announce07, Post>(CONFIG.proxy())
.with07::<User, Create07, Comment>(CONFIG.proxy())
.with07::<User, Create07, Post>(CONFIG.proxy())
.with07::<User, Delete07, Comment>(CONFIG.proxy())
.with07::<User, Delete07, Post>(CONFIG.proxy())
.with07::<User, Delete07, User>(CONFIG.proxy())
.with07::<User, Follow07, User>(CONFIG.proxy())
.with07::<User, Like07, Post>(CONFIG.proxy())
.with07::<User, Undo07, Reshare>(CONFIG.proxy())
.with07::<User, Undo07, follows::Follow>(CONFIG.proxy())
.with07::<User, Undo07, likes::Like>(CONFIG.proxy())
.with07::<User, Update07, PostUpdate>(CONFIG.proxy())
.with::<User, Announce07, Post>(CONFIG.proxy())
.with::<User, Create07, Comment>(CONFIG.proxy())
.with::<User, Create07, Post>(CONFIG.proxy())
.with::<User, Delete07, Comment>(CONFIG.proxy())
.with::<User, Delete07, Post>(CONFIG.proxy())
.with::<User, Delete07, User>(CONFIG.proxy())
.with::<User, Follow07, User>(CONFIG.proxy())
.with::<User, Like07, Post>(CONFIG.proxy())
.with::<User, Undo07, Reshare>(CONFIG.proxy())
.with::<User, Undo07, follows::Follow>(CONFIG.proxy())
.with::<User, Undo07, likes::Like>(CONFIG.proxy())
.with::<User, Update07, PostUpdate>(CONFIG.proxy())
.done()
}