favourited notes
This commit is contained in:
1 parent
87b61d6088
commit
f9cf17554a
25 files changed
+1534
-22
No files matched your search
@@ -1135,6 +1135,22 @@ pub async fn confirm_account_action(
|
||||
.execute(&mut *tx)
|
||||
.await
|
||||
.map_err(AuthError::database)?;
|
||||
sqlx::query(queries::get(
|
||||
state.db.kind(),
|
||||
queries::USER_FAVORITE_PADS_DELETE_BY_USER,
|
||||
))
|
||||
.bind(user_id)
|
||||
.execute(&mut *tx)
|
||||
.await
|
||||
.map_err(AuthError::database)?;
|
||||
sqlx::query(queries::get(
|
||||
state.db.kind(),
|
||||
queries::USER_FAVORITE_NOTES_DELETE_BY_USER,
|
||||
))
|
||||
.bind(user_id)
|
||||
.execute(&mut *tx)
|
||||
.await
|
||||
.map_err(AuthError::database)?;
|
||||
sqlx::query(queries::get(state.db.kind(), queries::AUTH_ANONYMIZE_USER))
|
||||
.bind(&deleted_nickname)
|
||||
.bind(normalize(&deleted_nickname))
|
||||
|
||||
Reference in new issue
Block a user