Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
grishka committed Jun 6, 2024
1 parent ff4d80e commit d55d6cb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/smithereen/storage/PostStorage.java
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,8 @@ public static Post getPostByID(int postID, boolean wantDeleted) throws SQLExcept
}

public static Map<Integer, Post> getPostsByID(Collection<Integer> ids) throws SQLException{
if(ids.isEmpty())
return Map.of();
Map<Integer, Post> posts=new SQLQueryBuilder()
.selectFrom("wall_posts")
.allColumns()
Expand Down

0 comments on commit d55d6cb

Please sign in to comment.