keep working on the like button
This commit is contained in:
@@ -32,6 +32,7 @@ class Database {
|
||||
std::vector<Post> getUserPosts(uint64_t userId);
|
||||
std::vector<Post> getTopPosts(uint64_t amount);
|
||||
void addPost(const Post& post);
|
||||
void addLike(uint64_t postId, uint64_t userId);
|
||||
|
||||
std::optional<User> getUser(uint64_t id);
|
||||
std::optional<User> getUserByName(const std::string& name);
|
||||
|
||||
Reference in New Issue
Block a user