Fixed wrongly referenced struct after updating notification api
ci/woodpecker/push/woodpecker Pipeline was successful
Details
ci/woodpecker/push/woodpecker Pipeline was successful
Details
This commit is contained in:
parent
418f373c98
commit
75d00b3856
|
@ -124,7 +124,7 @@ pub mod database {
|
|||
}
|
||||
|
||||
pub mod notification {
|
||||
use application::request::models::Current;
|
||||
use application::request::models::{Current, State};
|
||||
use application::request::notification::Notification;
|
||||
|
||||
pub struct FakeNotification<T>
|
||||
|
@ -138,7 +138,7 @@ pub mod notification {
|
|||
where
|
||||
T: Fn(),
|
||||
{
|
||||
fn send(&self, currents: &Vec<Current>) {
|
||||
fn send(&self, currents: &Vec<State>) {
|
||||
(self.callback)();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue