show sightings from own client

This commit is contained in:
2025-08-03 10:07:55 +02:00
parent 4d0a69cb12
commit e3fb452b28
5 changed files with 58 additions and 21 deletions

View File

@@ -11,7 +11,7 @@ pub struct Camera {
}
impl Backend {
pub(crate) async fn camera_by_uuid(&self, uuid: Uuid) -> Option<Camera> {
pub(crate) async fn get_camera(&self, uuid: &Uuid) -> Option<Camera> {
let uuid = uuid.to_string();
match self {
Backend::Sqlite(db) => sqlx::query_as!(