diff options
| author | Sacheendra talluri <sacheendra.t@gmail.com> | 2017-04-04 15:34:01 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-04-04 15:34:01 +0200 |
| commit | 693a23d17c8783e51a97fd5a2439b5d1ceaa003c (patch) | |
| tree | fdad42c44a147e03101925ffd4d62a869bac4490 /opendc/api/v1/users/endpoint.py | |
| parent | 59b05ac8425e34cdf41179506cdda357c59b4b12 (diff) | |
| parent | fd0376c5a8f018457a11bb0f9602bda366571955 (diff) | |
Merge pull request #6 from atlarge-research/api-over-http
Access API over HTTP
Diffstat (limited to 'opendc/api/v1/users/endpoint.py')
| -rw-r--r-- | opendc/api/v1/users/endpoint.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opendc/api/v1/users/endpoint.py b/opendc/api/v1/users/endpoint.py index 1f43f665..7e381ed5 100644 --- a/opendc/api/v1/users/endpoint.py +++ b/opendc/api/v1/users/endpoint.py @@ -43,7 +43,6 @@ def POST(request): request.check_required_parameters( body = { 'user': { - 'googleId': 'string', 'email': 'string' } } @@ -54,6 +53,7 @@ def POST(request): # Instantiate a User + request.params_body['user']['googleId'] = request.google_id user = User.from_JSON(request.params_body['user']) # Make sure a User with this Google ID does not already exist |
