Page MenuHomeDevCentral

D2047.diff
No OneTemporary

D2047.diff

diff --git a/src/api/replies.rs b/src/api/replies.rs
--- a/src/api/replies.rs
+++ b/src/api/replies.rs
@@ -91,7 +91,7 @@
/// This will produce a JSON representation of the newly inserted player if successful.
/// If the insert fails because of an unique constraint violation (e.g. an username already
/// taken), it returns a 409 Conflict.
- /// If the failure is from a forreign key integrity constraint, it returns a 400.
+ /// If the failure is from a foreign key integrity constraint, it returns a 400.
/// If there is any other database issue, it returns a 500.
fn into_json_response(self) -> ApiJsonResponse<T> {
self

File Metadata

Mime Type
text/plain
Expires
Thu, Nov 28, 17:43 (21 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2269548
Default Alt Text
D2047.diff (665 B)

Event Timeline