Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
cornerman authored Jun 24, 2024
1 parent 47415b1 commit b04029c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ When calling `router.route[Api](impl)`, a macro generates a function that maps a

```scala
{ (endpoint: sloth.Endpoint) =>
if (endpoint.apiName = "Api") endpoint.methodName match {
if (endpoint.apiName == "Api") endpoint.methodName match {
case "fun" => Some({ payload =>
// deserialize payload
// call Api implementation impl with arguments
Expand Down

0 comments on commit b04029c

Please sign in to comment.