mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2025-06-20 08:25:16 +00:00
Rename fields
This commit is contained in:
@ -7,7 +7,7 @@ use crate::data::base_request_handler::BaseRequestHandler;
|
||||
use crate::data::config::conf;
|
||||
use crate::data::http_request_handler::HttpRequestHandler;
|
||||
use crate::data::user_token::PushNotificationToken;
|
||||
use crate::helpers::{account_helper, independent_push_notification_service_helper};
|
||||
use crate::helpers::{account_helper, independent_push_notifications_service_helper};
|
||||
use crate::routes::RequestResult;
|
||||
|
||||
/// Get current push notifications status for a connection
|
||||
@ -37,7 +37,7 @@ pub fn configure(r: &mut HttpRequestHandler) -> RequestResult {
|
||||
return r.bad_request("Independent service is unavailable!".to_string());
|
||||
}
|
||||
|
||||
let token = independent_push_notification_service_helper::create_token()?;
|
||||
let token = independent_push_notifications_service_helper::create_token()?;
|
||||
|
||||
PushNotificationToken::INDEPENDENT(token)
|
||||
}
|
||||
|
Reference in New Issue
Block a user