Fixed wrongly referenced struct after updating notification api
ci/woodpecker/push/woodpecker Pipeline was successful Details

This commit is contained in:
Martin Slot 2022-12-13 14:55:49 +01:00
parent 418f373c98
commit 75d00b3856
1 changed files with 2 additions and 2 deletions

View File

@ -124,7 +124,7 @@ pub mod database {
} }
pub mod notification { pub mod notification {
use application::request::models::Current; use application::request::models::{Current, State};
use application::request::notification::Notification; use application::request::notification::Notification;
pub struct FakeNotification<T> pub struct FakeNotification<T>
@ -138,7 +138,7 @@ pub mod notification {
where where
T: Fn(), T: Fn(),
{ {
fn send(&self, currents: &Vec<Current>) { fn send(&self, currents: &Vec<State>) {
(self.callback)(); (self.callback)();
} }
} }