mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-30 14:31:57 -05:00
Undo the chnages to create_invited_user
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
import json
|
||||
|
||||
from flask import (
|
||||
Blueprint,
|
||||
request,
|
||||
@@ -26,8 +24,6 @@ register_errors(invite)
|
||||
@invite.route('', methods=['POST'])
|
||||
def create_invited_user(service_id):
|
||||
request_json = request.get_json()
|
||||
# request_json = request.data
|
||||
print(request_json)
|
||||
invited_user, errors = invited_user_schema.load(request_json)
|
||||
save_invited_user(invited_user)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user