Skip to content

Commit

Permalink
removed out debug statement, added required fields for account creation
Browse files Browse the repository at this point in the history
  • Loading branch information
syntheticgio committed Nov 12, 2021
1 parent 71a7c03 commit a313275
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bco_api/api/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,7 @@ class ApiAccountsNew(APIView):
type=openapi.TYPE_OBJECT,
title="Account Creation Schema",
description="Account creation schema description.",
required=['hostname', 'email', 'token'],
properties={
'hostname': openapi.Schema(type=openapi.TYPE_STRING, description='Hostname of the User Database.'),
'email': openapi.Schema(type=openapi.TYPE_STRING, description='Email address of user.'),
Expand All @@ -356,8 +357,6 @@ class ApiAccountsNew(APIView):
403: "Invalid token."
}, tags=["Account Management"])
def post(self, request) -> Response:
import pdb;
pdb.set_trace()
print("Request: {}".format(request))
return check_post_and_process(request, POST_api_accounts_new)

Expand Down

0 comments on commit a313275

Please sign in to comment.