Skip to content
Snippets Groups Projects
Commit 071915ca authored by 정원제's avatar 정원제 :guitar:
Browse files

hotfix: request body name -> newName

parent 02b621c8
No related branches found
No related tags found
No related merge requests found
Pipeline #10813 passed
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment