diff --git a/web_server/blueprints/streams.py b/web_server/blueprints/streams.py index e41d556..48ffe70 100644 --- a/web_server/blueprints/streams.py +++ b/web_server/blueprints/streams.py @@ -160,18 +160,6 @@ def get_followed_streamers(): live_following_streams = followed_streamers(user_id) return live_following_streams -#admin priveledges its probably better to not have this as a route instead just an internal function -@stream_bp.route('/save_stream_thumbnail/', methods=['POST']) -def stream_thumbnail_snapshot(streamer_id): - """ - Function to be called periodically which saves the current live stream as an img to be used for the thumbnail to be displayed - will be asking streamer guy how to get the picture - will also be asking myself how to do this - Dylan - will be saved as a png stream_id.streamer_id.png or similar to create a unique image - """ - return - - ## RTMP Server Routes @stream_bp.route("/publish_stream", methods=["POST"]) def publish_stream(): diff --git a/web_server/blueprints/user.py b/web_server/blueprints/user.py index f656f26..116a4c5 100644 --- a/web_server/blueprints/user.py +++ b/web_server/blueprints/user.py @@ -57,15 +57,6 @@ def get_login_status(): username = session.get("username") return jsonify({'status': username is not None, 'username': username}) - -@user_bp.route('/authenticate_user') -def authenticate_user() -> dict: - """ - Authenticates the user - """ - return {"authenticated": True} - - @user_bp.route('/forgot_password', methods=['POST']) def user_forgot_password(): """