1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2025-06-20 08:25:16 +00:00

Rename fields

This commit is contained in:
2021-04-12 17:59:00 +02:00
parent d6e5cb6fed
commit b28d102e24
5 changed files with 8 additions and 8 deletions

View File

@ -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)
}