trackMe-backend/src/server.py
def tutorUpdatePayrate(u_id):

    """
    Allow a admin to update the payrate of a tutor (ADMIN ONLY)

    Returns: none
    """
    myDb, myCursor = dbConnect()
    data = request.get_json()

    UpdateTutorPayrate(myCursor, myDb, data["tutor_id"], data["rate_id"])
    
    dbDisconnect(myCursor, myDb)
    return dumps({})

    Allow a admin to update the payrate of a tutor (ADMIN ONLY)

    Returns: none
    
Allow a admin to update the payrate of a tutor (ADMIN ONLY)
Returns: none
Allow a admin to update the payrate of a tutor ( ADMIN ONLY ) Returns : none
def tutorUpdatePayrate(u_id):
    myDb, myCursor = dbConnect()
    data = request.get_json()
    UpdateTutorPayrate(myCursor, myDb, data["tutor_id"], data["rate_id"])
    dbDisconnect(myCursor, myDb)
    return dumps({})
def tutorUpdatePayrate ( u_id ) : myDb , myCursor = dbConnect ( ) data = request . get_json ( ) UpdateTutorPayrate ( myCursor , myDb , data [ "tutor_id" ] , data [ "rate_id" ] ) dbDisconnect ( myCursor , myDb ) return dumps ( { } )
Allow a admin to update the payrate of a tutor (ADMIN ONLY)
Returns: none
Allow a admin to update the payrate of a tutor ( ADMIN ONLY ) Returns : none
"""
    Allow a admin to update the payrate of a tutor (ADMIN ONLY)

    Returns: none
    """
u_id