Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3361633
D13498.id44649.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
941 B
Referenced Files
None
Subscribers
None
D13498.id44649.diff
View Options
diff --git a/services/identity/src/database.rs b/services/identity/src/database.rs
--- a/services/identity/src/database.rs
+++ b/services/identity/src/database.rs
@@ -588,16 +588,7 @@
/// Deletes all user data from DynamoDB. Returns device IDs
/// from user's device list.
#[tracing::instrument(skip_all)]
- pub async fn delete_user(
- &self,
- user_id: String,
- ) -> Result<Vec<String>, Error> {
- let device_ids = self
- .get_current_device_list(&user_id)
- .await?
- .map(|list| list.device_ids)
- .unwrap_or_default();
-
+ pub async fn delete_user(&self, user_id: String) -> Result<(), Error> {
// We must delete the one-time keys first because doing so requires device
// IDs from the devices table
debug!(user_id, "Attempting to delete user's one-time keys");
@@ -634,7 +625,7 @@
}
}?;
- Ok(device_ids)
+ Ok(())
}
pub async fn wallet_address_taken(
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 25, 6:33 PM (21 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2580467
Default Alt Text
D13498.id44649.diff (941 B)
Attached To
Mode
D13498: [identity] change delete_user method signature
Attached
Detach File
Event Timeline
Log In to Comment