client cape loading fix
This commit is contained in:
parent
d7fd387745
commit
1629690d55
@ -38,7 +38,7 @@ pub async fn has_joined(
|
||||
let query = "
|
||||
SELECT
|
||||
uuid,
|
||||
TO_CHAR(skin_date, 'YYYY-MM-DD_HH24-MI-SS') AS skin_date
|
||||
TO_CHAR(skin_date, 'YYYY-MM-DD_HH24-MI-SS') AS skin_date,
|
||||
TO_CHAR(cape_date, 'YYYY-MM-DD_HH24-MI-SS') AS cape_date
|
||||
FROM accounts
|
||||
WHERE username = $1 AND server_id = $2";
|
||||
|
@ -32,13 +32,12 @@ pub async fn profile(
|
||||
}))).into_response()
|
||||
};
|
||||
|
||||
let query = "
|
||||
SELECT
|
||||
username,
|
||||
TO_CHAR(skin_date, 'YYYY-MM-DD_HH24-MI-SS') AS skin_date
|
||||
TO_CHAR(cape_date, 'YYYY-MM-DD_HH24-MI-SS') AS cape_date
|
||||
FROM accounts
|
||||
WHERE uuid = $1";
|
||||
let query = "SELECT
|
||||
username,
|
||||
TO_CHAR(skin_date, 'YYYY-MM-DD_HH24-MI-SS') AS skin_date,
|
||||
TO_CHAR(cape_date, 'YYYY-MM-DD_HH24-MI-SS') AS cape_date
|
||||
FROM accounts
|
||||
WHERE uuid = $1";
|
||||
|
||||
let row = match conn.query_one(query, &[¶ms.uuid]).await {
|
||||
Ok(row) => row,
|
||||
|
Loading…
Reference in New Issue
Block a user