(cid)
return redirect(url_for('member.dashboard_page'))
Dashboard Delete Checks:
    This will delete health checks via the url parameters
Dashboard Delete Checks:
    This will delete health checks via the url parameters
Dashboard Delete Checks : This will delete health checks via the url parameters
def delcheck_page(cid):
    '''
    Dashboard Delete Checks:
    This will delete health checks via the url parameters
    '''
    verify = verifyLogin(
        app.config['SECRET_KEY'], app.config['COOKIE_TIMEOUT'], request.cookies)
    if verify:
        user = User()
        user.config = app.config
        user.get('uid', verify, g.rdb_conn)
        if user.status != "active":
            pass
        else:

            # Delete the Monitor
            monitor = Monitor(cid)
            monitor.config = app.config
            monitor.get(cid, g.rdb_conn)
            result = monitor.deleteMonitor(user.uid, cid, g.rdb_conn)
            if result:
                print("/dashboard/delete-checks - Delete successful")
                flash('Health Check was successfully deleted.', 'success')
            else:
                print("/dashboard/delete-checks - Delete failed")
                flash('Health Check was not deleted', 'danger')
    return redirect(url_for('member.dashboard_page'))
def delcheck_page ( cid ) : verify = verifyLogin ( app . config [ 'SECRET_KEY' ] , app . config [ 'COOKIE_TIMEOUT' ] , request . cookies ) if verify : user = User ( ) user . config = app . config user . get ( 'uid' , verify , g . rdb_conn ) if user . status != "active" : pass else : # Delete the Monitor monitor = Monitor ( cid ) monitor . config = app . config monitor . get ( cid , g . rdb_conn ) result = monitor . deleteMonitor ( user . uid , cid , g . rdb_conn ) if result : print ( "/dashboard/delete-checks - Delete successful" ) flash ( 'Health Check was successfully deleted.' , 'success' ) else : print ( "/dashboard/delete-checks - Delete failed" ) flash ( 'Health Check was not deleted' , 'danger' ) return redirect ( url_for ( 'member.dashboard_page' ) )