r3dkar-social-media-api
Advanced tools
Comparing version
{ | ||
"name": "r3dkar-social-media-api", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"description": "API for social media", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -96,2 +96,5 @@ import fs from 'fs'; | ||
users[userIndex].friends.forEach(friendId => unfriendUsers(id, friendId)); | ||
getPosts(id).forEach(postId => deletePost(postId)); | ||
users.splice(userIndex, 1); | ||
@@ -98,0 +101,0 @@ |
11091
1.27%276
0.73%