···169169 #[serde(skip_serializing_if = "Vec::is_empty", default)]
170170 uris: EventLinks,
171171172172- #[serde(
173173- skip_serializing_if = "Vec::is_empty",
174174- default
175175- )]
172172+ #[serde(skip_serializing_if = "Vec::is_empty", default)]
176173 media: MediaList,
177174178175 // This is a catch-all for any elements that are not implemented by
···152152 let standard_aturi = format!("at://{}/{}/{}", profile.did, NSID, event_rkey);
153153154154 // Try to fetch the standard event
155155- standard_event_exists = event_get(&ctx.web_context.pool, &standard_aturi).await.is_ok();
155155+ standard_event_exists = event_get(&ctx.web_context.pool, &standard_aturi)
156156+ .await
157157+ .is_ok();
156158 // Legacy events are never migrated
157159 has_been_migrated = false;
158160 } else {
···164166 "at://{}/{}/{}",
165167 profile.did, SMOKESIGNAL_EVENT_NSID, event_rkey
166168 );
167167- has_been_migrated = event_get(&ctx.web_context.pool, &legacy_aturi).await.is_ok();
169169+ has_been_migrated = event_get(&ctx.web_context.pool, &legacy_aturi)
170170+ .await
171171+ .is_ok();
168172 };
169173170174 // Try to get the event from the requested collection
+1-1
src/http/mod.rs
···1313pub mod handle_admin_index;
1414pub mod handle_admin_rsvp;
1515pub mod handle_admin_rsvps;
1616+pub mod handle_content;
1617pub mod handle_create_event;
1718pub mod handle_create_rsvp;
1819pub mod handle_delete_event;
···4445pub mod templates;
4546pub mod timezones;
4647pub mod utils;
4747-pub mod handle_content;