def METHOD_NAME():
    """Function to receive and set user image"""
    current_user = get_jwt_identity()
    user = User.query.filter_by(email=current_user).first()
    f = request.files["file"]
    Path("dev_data/" + str(user.email)).mkdir(parents=True, exist_ok=True)
    f.save(
        os.path.join("dev_data/" + str(user.email) + "/", secure_filename(f.filename))
    )
    path = "imgs/dev_data/" + str(user.email) + "/" + secure_filename(f.filename)
    user.update_image_address(path)
    db.session.merge(user)
    db.session.commit()
    return jsonify({"msg": "User image changed"}), 200