From 50793720008637e2e75a290d64868cd41cf9b68e Mon Sep 17 00:00:00 2001 From: Petar Bozin Date: Tue, 6 Sep 2016 10:59:23 +0200 Subject: [PATCH] Using username instead of email. Modified error message when creating new user --- src/main/scala/code/api/v2_0_0/APIMethods200.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/code/api/v2_0_0/APIMethods200.scala b/src/main/scala/code/api/v2_0_0/APIMethods200.scala index 19b3e6eb5..925e724aa 100644 --- a/src/main/scala/code/api/v2_0_0/APIMethods200.scala +++ b/src/main/scala/code/api/v2_0_0/APIMethods200.scala @@ -1377,7 +1377,7 @@ trait APIMethods200 { } } else { - Full(errorJsonResponse("User with the same email already exists.", 409)) + Full(errorJsonResponse("User with the same username already exists.", 409)) } } }