Skip to content

Commit

Permalink
Fix typo in error message for unimplemented endpoints (#669)
Browse files Browse the repository at this point in the history
## Motivation

While testing, I noticed the following response for unimplemented
endpoints
```json
{"code":"not_implemented","detail":"This API endpoint is not yet implented."}
```
That's a typo. Should be "implemented"

## Solution

Fix the typo.
  • Loading branch information
svix-gabriel authored Oct 14, 2022
2 parents c49d17a + 3943ba9 commit 894d923
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/svix-server/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ impl HttpError {
Self::new_standard(
StatusCode::NOT_IMPLEMENTED,
code.unwrap_or_else(|| "not_implemented".to_owned()),
detail.unwrap_or_else(|| "This API endpoint is not yet implented.".to_owned()),
detail.unwrap_or_else(|| "This API endpoint is not yet implemented.".to_owned()),
)
}
}
Expand Down

0 comments on commit 894d923

Please sign in to comment.