show sightings from own client
This commit is contained in:
@@ -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!(
|
||||
|
Reference in New Issue
Block a user