File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ export const groupService = {
2929 } ,
3030
3131 updateGroup : ( { id, ...data } : UpdateGroupRequest ) : Promise < GroupData > => {
32- return axiosInstance . patch ( `groups/${ id } ` , data ) ;
32+ return axiosInstance . put ( `groups/${ id } ` , data ) ;
3333 } ,
3434
3535 getGroupUsers : ( { id } : GetGroupUsersRequest ) : Promise < PaginationResponse < GroupUser > > => {
@@ -41,7 +41,7 @@ export const groupService = {
4141 } ,
4242
4343 updateGroupUser : ( { groupId, userId, ...data } : UpdateGroupUserRequest ) : Promise < null > => {
44- return axiosInstance . patch ( `groups/${ groupId } /users/${ userId } ` , data ) ;
44+ return axiosInstance . put ( `groups/${ groupId } /users/${ userId } ` , data ) ;
4545 } ,
4646
4747 deleteGroupUser : ( { groupId, userId } : DeleteGroupUserRequest ) : Promise < null > => {
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ export const queueService = {
2424 } ,
2525
2626 updateQueue : ( { id, ...data } : UpdateQueueRequest ) : Promise < Queue > => {
27- return axiosInstance . patch ( `queues/${ id } ` , data ) ;
27+ return axiosInstance . put ( `queues/${ id } ` , data ) ;
2828 } ,
2929
3030 deleteQueue : ( { id } : DeleteQueueRequest ) : Promise < null > => {
You can’t perform that action at this time.
0 commit comments