From 88f3051c6eb3d752ca6b8300a93aa9571e487e24 Mon Sep 17 00:00:00 2001 From: Andy Jeffries Date: Thu, 23 Sep 2021 11:15:28 +0100 Subject: [PATCH] Update team.rb --- app/models/civo/team.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/civo/team.rb b/app/models/civo/team.rb index 2c8b4b9..434de20 100644 --- a/app/models/civo/team.rb +++ b/app/models/civo/team.rb @@ -11,7 +11,7 @@ class Team < Base get :members, "/v#{ENV["CIVO_API_VERSION"] || "2"}/teams/:id/members" post :add_member, "/v#{ENV["CIVO_API_VERSION"] || "2"}/teams/:id/members", requires: [:user_id] - post :update_member, "/v#{ENV["CIVO_API_VERSION"] || "2"}/teams/:id/members/:member_id" + put :update_member, "/v#{ENV["CIVO_API_VERSION"] || "2"}/teams/:id/members/:member_id" delete :remove_member, "/v#{ENV["CIVO_API_VERSION"] || "2"}/teams/:id/members/:member_id" end end