Example #1
0
def people_put(person):
    person_service.update(person)
    return u'{} has been updated'.format(person['name']), 200
Example #2
0
def user_post(user):
    user.update({
        'id': session['user_id']
    })
    person_service.update(user)
    return 'Account Updated', 200