<commit_before>from commands.sync_pivotal_to_toggl import sync
from flask import Blueprint
app = Blueprint('pivotaltracker_webhook', __name__)


@app.route("/pivotaltracker/webhook", methods=['POST'])
def pivotaltracker_webhook():
    # FIXME only sync the object that was modified, currently doing full sync
    sync.sync()
    return "ok"<commit_msg>reverse url so all webhooks are in same path<commit_after>from commands.sync_pivotal_to_toggl import sync
from flask import Blueprint
app = Blueprint('pivotaltracker_webhook', __name__)


@app.route("/webhooks/pivotaltracker", methods=['POST'])
def pivotaltracker_webhook():
    # FIXME only sync the object that was modified, currently doing full sync
    sync()
    return "ok"
{'fraction_non_alphanumeric': 0.09165526675786594, 'fraction_numerical': 0.0, 'mean_word_length': 5.777777777777778, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6509689', 'n_tokens_mistral': 228, 'n_tokens_neox': 223, 'n_words': 67}