diff --git a/src/api/my/updatePCName.js b/src/api/my/updatePCName.js index f81d155ab9a09060fd44454f19d5e20fc61fe03f..042a60973dbc4942e2eed1eab86dc1ae6ea84933 100644 --- a/src/api/my/updatePCName.js +++ b/src/api/my/updatePCName.js @@ -4,7 +4,7 @@ const updatePCName = async (pcId, newName) => { console.log(pcId, newName); try { const response = await axios.patch(`/my/pc/${pcId}/name`, { - name: newName.trim() + newName: newName.trim() }); return response.data;