You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nlpcraft.apache.org by ar...@apache.org on 2021/02/18 05:42:08 UTC

[incubator-nlpcraft] branch NLPCRAFT-238 updated: Update NCBasicRestApi.scala

This is an automated email from the ASF dual-hosted git repository.

aradzinski pushed a commit to branch NLPCRAFT-238
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git


The following commit(s) were added to refs/heads/NLPCRAFT-238 by this push:
     new 495a9e2  Update NCBasicRestApi.scala
495a9e2 is described below

commit 495a9e202e7631f2fe790cdab6ac8b7557202d51
Author: Aaron Radzinski <ar...@apache.org>
AuthorDate: Wed Feb 17 21:41:58 2021 -0800

    Update NCBasicRestApi.scala
---
 .../src/main/scala/org/apache/nlpcraft/server/rest/NCBasicRestApi.scala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nlpcraft/src/main/scala/org/apache/nlpcraft/server/rest/NCBasicRestApi.scala b/nlpcraft/src/main/scala/org/apache/nlpcraft/server/rest/NCBasicRestApi.scala
index 04502c3..4ea5e91 100644
--- a/nlpcraft/src/main/scala/org/apache/nlpcraft/server/rest/NCBasicRestApi.scala
+++ b/nlpcraft/src/main/scala/org/apache/nlpcraft/server/rest/NCBasicRestApi.scala
@@ -565,7 +565,7 @@ class NCBasicRestApi extends NCRestApi with LazyLogging with NCOpenCensusTrace w
                         case None ⇒ None
                     }
 
-                checkLengthOpt("data", dataJsOpt, 512000)
+                checkLengthOpt("data", dataJsOpt,512000)
 
                 val acsUsr = authenticate(req.acsTok)