fix flex dir, follower/folowing swap fix

This commit is contained in:
Tyler Murphy 2023-02-15 14:34:09 -05:00
parent 57d30c1845
commit 7ae392ad76
2 changed files with 8 additions and 4 deletions

View file

@ -124,6 +124,10 @@ body {
align-self: center;
padding: 0;
display: flex;
flex-direction: column;
}
#about {
flex-direction: row;
}

View file

@ -84,8 +84,8 @@ impl Database {
WHERE EXISTS (
SELECT NULL
FROM friends f
WHERE f.follower_id = ?
AND u.user_id = f.followee_id
WHERE u.user_id = f.follower_id
AND f.followee_id = ?
)
",
)?;
@ -106,8 +106,8 @@ impl Database {
WHERE EXISTS (
SELECT NULL
FROM friends f
WHERE u.user_id = f.follower_id
AND f.followee_id = ?
WHERE f.follower_id = ?
AND u.user_id = f.followee_id
)
",
)?;