mirror of
https://github.com/modrinth/code.git
synced 2026-08-24 16:44:51 +00:00
* feat(labrinth): user blocking still wip, nothing is hooked up * style(labrinth): cargo fmt * refactor(labrinth): move block/unblock routes to public api * feat(labrinth): block friend requests if blocked * feat(labrinth): remove friend/request on block * feat(labrinth): get blocked users endpoint
16 lines
426 B
JSON
16 lines
426 B
JSON
{
|
|
"db_name": "PostgreSQL",
|
|
"query": "\n INSERT INTO blocked_users (user_id, blocked_id)\n VALUES ($1, $2)\n ON CONFLICT (user_id, blocked_id) DO NOTHING\n ",
|
|
"describe": {
|
|
"columns": [],
|
|
"parameters": {
|
|
"Left": [
|
|
"Int8",
|
|
"Int8"
|
|
]
|
|
},
|
|
"nullable": []
|
|
},
|
|
"hash": "57895dd22cb3f6d954ed742a730edece682a771d504ef209cbece81c46e07efb"
|
|
}
|