mirror of
https://github.com/maxdorninger/MediaManager.git
synced 2026-04-21 16:25:36 +02:00
Move user id from query to path parameters in saveUser() in user-data-table
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
ee7d514c13
commit
43206971d8
@@ -19,9 +19,7 @@
|
||||
|
||||
async function saveUser() {
|
||||
if (!selectedUser) return;
|
||||
const { error } = await client.PATCH('/api/v1/users/{id}', {
|
||||
params: {
|
||||
query: {
|
||||
path: {
|
||||
id: selectedUser.id
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user