Skip to content

Commit

Permalink
feat(access): Depreciate Team API v1 endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
jon-nfc committed Oct 23, 2024
1 parent 883ade4 commit 53527fc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/api/views/access.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def get_view_name(self):
return "Organization"



@extend_schema(deprecated=True)
@extend_schema_view(
post=extend_schema(
summary = "Create a Team",
Expand Down Expand Up @@ -97,7 +97,7 @@ def get_view_name(self):
return "Organization Teams"



@extend_schema(deprecated=True)
@extend_schema_view(
get=extend_schema(
summary = "Fetch a Team",
Expand Down Expand Up @@ -149,7 +149,7 @@ class TeamDetail(generics.RetrieveUpdateDestroyAPIView):
lookup_field = 'group_ptr_id'



@extend_schema(deprecated=True)
@extend_schema_view(
get=extend_schema(
summary = "Fetch a teams permissions",
Expand Down

0 comments on commit 53527fc

Please sign in to comment.