Started to implement market size history.
This commit is contained in:
1 parent
e76a521356
commit
9faf6638a3
5 files changed
+29
-6
No files matched your search
+3
-3
@@ -158,11 +158,11 @@ pub async fn actions_partials(
|
||||
let security_service = service_factory.get_security_service(&conn)?;
|
||||
let account_service = service_factory.get_account_service(&conn)?;
|
||||
let authentication_service = service_factory.get_authentication_service(&conn)?;
|
||||
let maybeUser = authentication_service.get_login(&req);
|
||||
if maybeUser.is_none() {
|
||||
let maybe_user = authentication_service.get_login(&req);
|
||||
if maybe_user.is_none() {
|
||||
return Err(actix_web::error::ErrorForbidden(""))
|
||||
}
|
||||
let user = maybeUser.unwrap();
|
||||
let user = maybe_user.unwrap();
|
||||
let ctx = context! {
|
||||
event_type => event_type,
|
||||
securities => security_service.list_securities(),
|
||||
|
||||
Reference in new issue
Block a user