Implementing the factory web API

This commit is contained in:
MaxSignal committed 2026-01-14 06:56:00 +00:00
1 parent 455b466621
commit 16f0761380
10 files changed
+249 -2

No files matched your search

+1 -1
View File
@@ -85,7 +85,7 @@ impl crate::VehicleFactoryAdapter for ArcAdapter {
id: meta.id as _,
name: meta.name,
description: meta.description,
thumbnail: meta.thumbnail,
thumbnail: self.thumbnail_url(meta.thumbnail, meta.id),
added_by: if self.spoof_users { hex::encode(meta.added_by.as_bytes()) } else { meta.added_by },
added_by_display_name: meta.added_by_display_name,
added_date: crate::traits::parse_rc_date(&meta.added_date).unwrap_or_default(),