emit push after flush

This commit is contained in:
Nikita Galaiko 2023-08-23 12:58:46 +02:00 committed by GitButler
parent 4260d186d3
commit 0b5bbcbd14

View File

@ -54,9 +54,9 @@ impl Handler {
.flush_session(&project_repository::Repository::open(&project)?, session)
.context("failed to flush session")?;
Ok(vec![events::Event::Session(
project_id.to_string(),
session,
)])
Ok(vec![
events::Event::Session(project_id.to_string(), session),
events::Event::PushGitbutlerData(project_id.to_string()),
])
}
}