@@ -75,21 +75,6 @@ def post(self, request, **kwargs) -> response.Response:
75
75
"error" : "Invalid reCaptcha"
76
76
}, status = status .HTTP_401_UNAUTHORIZED )
77
77
78
- def get (self , request , ** kwargs ) -> response .Response :
79
- """Return all Contributors
80
-
81
- Args:
82
- request
83
-
84
- Returns:
85
- response.Response
86
- """
87
-
88
- result = json .loads (json_util .dumps (open_entry .get_contributors ()))
89
- return response .Response ({
90
- "contributors" : result
91
- }, status = status .HTTP_200_OK )
92
-
93
78
94
79
class Maintainer (APIView ):
95
80
'''
@@ -128,7 +113,7 @@ def post(self, request, **kwargs) -> response.Response:
128
113
if details := open_entry_checks .validate_beta_maintainer (doc = validate ):
129
114
130
115
if id := open_entry .enter_beta_maintainer (doc = request .data ):
131
-
116
+
132
117
if service .wrapper_email (role = 'maintainer_received' , data = {
133
118
"name" : validate ["name" ],
134
119
"project_name" : details ["project_name" ],
@@ -143,7 +128,8 @@ def post(self, request, **kwargs) -> response.Response:
143
128
}}).start ()
144
129
return response .Response (status = status .HTTP_201_CREATED )
145
130
else :
146
- open_entry .beta_maintainer_reset_status (maintainer_id = id )
131
+ open_entry .beta_maintainer_reset_status (
132
+ maintainer_id = id )
147
133
148
134
return response .Response (status = status .HTTP_500_INTERNAL_SERVER_ERROR )
149
135
@@ -163,7 +149,7 @@ def post(self, request, **kwargs) -> response.Response:
163
149
validate ['project_id' ] = value [0 ]
164
150
validate ['project_name' ] = value [2 ]
165
151
validate ['description' ] = value [3 ]
166
-
152
+
167
153
if service .wrapper_email (role = 'project_submission_confirmation' , data = {
168
154
"project_name" : validate ["project_name" ],
169
155
"name" : validate ["name" ],
0 commit comments