diff options
| author | Martin Fischer <martin@push-f.com> | 2026-10-25 19:55:27 +0100 |
|---|---|---|
| committer | Martin Fischer <martin@push-f.com> | 2026-10-25 20:02:36 +0100 |
| commit | f57592a0ff38fb5b7418438d4804fc4ec0a4ae3a (patch) | |
| tree | 8a492b157dc4a83bb74a1cb1249fbcb858df2be2 /src/report.rs | |
| parent | 41212a7a15198e53d205252a02069a7dd6ddadeb (diff) | |
feat(fdroid): set langs and tags for posts
Diffstat (limited to 'src/report.rs')
| -rw-r--r-- | src/report.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/report.rs b/src/report.rs index d776469..07305a1 100644 --- a/src/report.rs +++ b/src/report.rs @@ -1,6 +1,6 @@ use std::{fs, io, path::Path}; -use atrium_api::app::bsky::richtext::facet::Main as Facet; +use atrium_api::{app::bsky::richtext::facet::Main as Facet, types::string::Language}; use serde::{Serialize, de::DeserializeOwned}; pub(crate) struct Post { @@ -8,6 +8,8 @@ pub(crate) struct Post { pub facets: Vec<Facet>, /// Images to upload before creating the post record. pub images: Vec<PostImage>, + pub langs: Vec<Language>, + pub tags: Vec<String>, } pub(crate) struct PostImage { |
