]> Untitled Git - lemmy.git/blobdiff - crates/db_views/src/comment_view.rs
Embed Peertube videos (#2261)
[lemmy.git] / crates / db_views / src / comment_view.rs
index c8b4d387e58e7a40a39dae3ea6f966ec3e2e391c..53aac9519e88bedac25c04e6dfac928d1ad0311d 100644 (file)
@@ -26,7 +26,9 @@ use lemmy_db_schema::{
     post::Post,
   },
   traits::{MaybeOptional, ToSafe, ViewToVec},
-  utils::{functions::hot_rank, fuzzy_search, limit_and_offset, ListingType, SortType},
+  utils::{functions::hot_rank, fuzzy_search, limit_and_offset},
+  ListingType,
+  SortType,
 };
 
 type CommentViewTuple = (
@@ -671,7 +673,7 @@ mod tests {
         nsfw: false,
         embed_title: None,
         embed_description: None,
-        embed_html: None,
+        embed_video_url: None,
         thumbnail_url: None,
         ap_id: inserted_post.ap_id.to_owned(),
         local: true,