fix flex dir, follower/folowing swap fix
This commit is contained in:
parent
57d30c1845
commit
7ae392ad76
2 changed files with 8 additions and 4 deletions
|
@ -124,6 +124,10 @@ body {
|
||||||
align-self: center;
|
align-self: center;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
#about {
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -84,8 +84,8 @@ impl Database {
|
||||||
WHERE EXISTS (
|
WHERE EXISTS (
|
||||||
SELECT NULL
|
SELECT NULL
|
||||||
FROM friends f
|
FROM friends f
|
||||||
WHERE f.follower_id = ?
|
WHERE u.user_id = f.follower_id
|
||||||
AND u.user_id = f.followee_id
|
AND f.followee_id = ?
|
||||||
)
|
)
|
||||||
",
|
",
|
||||||
)?;
|
)?;
|
||||||
|
@ -106,8 +106,8 @@ impl Database {
|
||||||
WHERE EXISTS (
|
WHERE EXISTS (
|
||||||
SELECT NULL
|
SELECT NULL
|
||||||
FROM friends f
|
FROM friends f
|
||||||
WHERE u.user_id = f.follower_id
|
WHERE f.follower_id = ?
|
||||||
AND f.followee_id = ?
|
AND u.user_id = f.followee_id
|
||||||
)
|
)
|
||||||
",
|
",
|
||||||
)?;
|
)?;
|
||||||
|
|
Loading…
Reference in a new issue