Skip to content

Commit

Permalink
Update team.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy Jeffries authored Sep 23, 2021
1 parent bc7cf7d commit 88f3051
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/civo/team.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 88f3051

Please sign in to comment.