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