diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2024-07-19 22:10:23 +0100 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2024-07-19 22:10:23 +0100 |
| commit | 29a093993ce7d0210ac39ceb1a25acc9350492e7 (patch) | |
| tree | b8ae2a13b975b051bda7e9461f1b8fddd986b3ca /src/sub_commands/push.rs | |
| parent | dde029b4f5988cfa830ebc36bee0f35c93bd2544 (diff) | |
feat: save created events to cache
as soon as they are successfully sent to at least one relay
Diffstat (limited to 'src/sub_commands/push.rs')
| -rw-r--r-- | src/sub_commands/push.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sub_commands/push.rs b/src/sub_commands/push.rs index 111a14a..d05158f 100644 --- a/src/sub_commands/push.rs +++ b/src/sub_commands/push.rs | |||
| @@ -191,6 +191,7 @@ pub async fn launch(cli_args: &Cli, args: &SubCommandArgs) -> Result<()> { | |||
| 191 | 191 | ||
| 192 | send_events( | 192 | send_events( |
| 193 | &client, | 193 | &client, |
| 194 | git_repo_path, | ||
| 194 | patch_events, | 195 | patch_events, |
| 195 | user_ref.relays.write(), | 196 | user_ref.relays.write(), |
| 196 | repo_ref.relays.clone(), | 197 | repo_ref.relays.clone(), |