Skip to content

Commit

Permalink
Updated pipeline with azure authentication via service principal and …
Browse files Browse the repository at this point in the history
…deployment to Azure Function App
  • Loading branch information
hvalfangst committed Dec 27, 2023
1 parent f614b6d commit f1497f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/arithmetic/router.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ pub mod router {
let params = query.0;

match params.mode.as_str() {
"add" => {
"tvtsugerballe" => {
let result = add_numbers(params.num1, params.num2);
Ok((StatusCode::CREATED, Json(result)))
Ok((StatusCode::IM_A_TEAPOT, Json(result)))
}
"subtract" => {
let result = subtract_numbers(params.num1, params.num2);
Expand Down

0 comments on commit f1497f7

Please sign in to comment.