Skip to content

Commit

Permalink
chore: remove account data
Browse files Browse the repository at this point in the history
  • Loading branch information
chris13524 committed Oct 24, 2023
1 parent 752f38a commit 14f3eae
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/analytics/notify_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ pub struct NotifyClient {
pub pk: String,
pub method: String, // subscribe, update, unsubscribe
pub project_id: String,
pub account: String,
pub account_hash: String,
pub topic: String,
pub notify_topic: String,
Expand All @@ -53,7 +52,6 @@ impl From<NotifyClientParams> for NotifyClient {
method: client.method.to_string(),
project_id: client.project_id,
account_hash: sha256::digest(client.account.as_bytes()),
account: client.account,
topic: client.topic,
notify_topic: client.notify_topic,
old_scope: client.old_scope,
Expand Down
2 changes: 0 additions & 2 deletions src/analytics/notify_message.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ pub struct NotifyMessage {
pub project_id: Arc<str>,
pub msg_id: Arc<str>,
pub topic: Arc<str>,
pub account: Arc<str>,
pub account_hash: String,
pub notification_type: Arc<str>,
pub send_id: String,
Expand All @@ -29,7 +28,6 @@ impl From<NotifyMessageParams> for NotifyMessage {
msg_id: message.msg_id,
topic: message.topic,
account_hash: sha256::digest(message.account.as_ref()),
account: message.account,
notification_type: message.notification_type,
send_id: message.send_id,
event_at: wc::analytics::time::now(),
Expand Down

0 comments on commit 14f3eae

Please sign in to comment.