trackMe-backend/src/server.py
def tutorEmail(): 
    
    """
    Allow a tutor to update their email 

    Returns: none
    """

    myDb, myCursor = dbConnect()
    data = request.get_json()

    updateTutorEmail(myCursor, myDb, data["email"], data["tutor_id"])
    
    dbDisconnect(myCursor, myDb)
    return dumps({})

    Allow a tutor to update their email 

    Returns: none
    
Allow a tutor to update their email
Returns: none
Allow a tutor to update their email Returns : none
def tutorEmail(): 
    myDb, myCursor = dbConnect()
    data = request.get_json()
    updateTutorEmail(myCursor, myDb, data["email"], data["tutor_id"])
    dbDisconnect(myCursor, myDb)
    return dumps({})
def tutorEmail ( ) : myDb , myCursor = dbConnect ( ) data = request . get_json ( ) updateTutorEmail ( myCursor , myDb , data [ "email" ] , data [ "tutor_id" ] ) dbDisconnect ( myCursor , myDb ) return dumps ( { } )
Allow a tutor to update their email
Returns: none
Allow a tutor to update their email Returns : none
"""
    Allow a tutor to update their email 

    Returns: none
    """