Skip to content

Commit

Permalink
cargo clippy --fix (#292)
Browse files Browse the repository at this point in the history
  • Loading branch information
hatchan authored May 3, 2024
1 parent 5d6f744 commit 257f87c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webhooks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ async fn handle_webhook_update(args: UpdateArgs) -> Result<()> {
.regenerate_shared_secret(args.regenerate_shared_secret)
.build();

payload.endpoint = args.endpoint.clone();
payload.endpoint.clone_from(&args.endpoint);
payload.events = args.categories;
payload.enabled = args.enabled;

Expand Down

0 comments on commit 257f87c

Please sign in to comment.