Skip to content

Commit

Permalink
Merge pull request #9 from KaioFelps/dev
Browse files Browse the repository at this point in the history
Fix: Free Badge Controller
  • Loading branch information
KaioFelps authored Jul 29, 2024
2 parents 85273fe + 2b83abf commit ea4b7aa
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version.workspace = true
edition.workspace = true

[workspace.package]
version = "0.3.0"
version = "0.3.1"
edition = "2021"

[workspace]
Expand Down
4 changes: 2 additions & 2 deletions src/infra/http/controllers/free_badges_controller.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ impl FreeBadgesController {
let body = body.into_inner();

let service = match update_free_badge_service_factory::exec().await {
Ok(service) => service,
Err(error) => return error,
Left(service) => service,
Right(error) => return error,
};

let result = service.exec(UpdateFreeBadgeParams {
Expand Down

0 comments on commit ea4b7aa

Please sign in to comment.