add: communities list page
TODO(ui): implement community creation, community viewing, community posting TODO(ui): implement profile following, followers, and posts feed
This commit is contained in:
parent
5cfca49793
commit
d6fbfc3cd6
28 changed files with 497 additions and 313 deletions
|
@ -38,7 +38,7 @@ impl DataManager {
|
|||
|
||||
let res = query_row!(
|
||||
&conn,
|
||||
"SELECT * FROM userblocks WHERE initator = $1 AND receiver = $2",
|
||||
"SELECT * FROM userblocks WHERE initiator = $1 AND receiver = $2",
|
||||
&[&(initiator as i64), &(receiver as i64)],
|
||||
|x| { Ok(Self::get_userblock_from_row(x)) }
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue