fix: make the default emotion happy
This commit is contained in:
parent
27b3658e1d
commit
1f922f8221
1 changed files with 1 additions and 1 deletions
|
|
@ -67,7 +67,7 @@ pub async fn ensure_active_avatar<'e>(
|
||||||
sqlx::query(
|
sqlx::query(
|
||||||
r#"
|
r#"
|
||||||
INSERT INTO auth.active_avatars (user_id, realm_id, avatar_id, current_emotion)
|
INSERT INTO auth.active_avatars (user_id, realm_id, avatar_id, current_emotion)
|
||||||
SELECT $1, $2, id, 0
|
SELECT $1, $2, id, 1
|
||||||
FROM auth.avatars
|
FROM auth.avatars
|
||||||
WHERE user_id = $1 AND slot_number = 0
|
WHERE user_id = $1 AND slot_number = 0
|
||||||
ON CONFLICT (user_id, realm_id) DO NOTHING
|
ON CONFLICT (user_id, realm_id) DO NOTHING
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue