Flash(`Your changes have been committed. Commit ${data.short_id} with ${data.stats.additions} additions, ${data.stats.deletions} deletions.`,'notice');
}else{
Flash(data.message);
}
});
.then((data)=>{
if(data.short_id&&data.stats){
Flash(`Your changes have been committed. Commit ${data.short_id} with ${data.stats.additions} additions, ${data.stats.deletions} deletions.`,'notice');