Skip to content
Snippets Groups Projects
Commit 03b46218 authored by Rodrigo Nascimento's avatar Rodrigo Nascimento
Browse files

Change method 'resetAvatar' to use RocketFile

parent b1b80a8b
No related branches found
No related tags found
No related merge requests found
......@@ -21,6 +21,6 @@ Meteor.methods
user = Meteor.user()
Avatars.remove {'copies.avatars.name': user.username}
RocketFileAvatarInstance.deleteFile user.username
Meteor.users.update user._id, {$unset: {avatarOrigin: 1}}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment