Skip to content

Commit 55f8dda

Browse files
authored
Merge pull request #5 from SEPIA-Framework/dev
Update to 2.0.1 - adjustments to core tools update
2 parents b96d6b3 + c2a488e commit 55f8dda

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<modelVersion>4.0.0</modelVersion>
33
<groupId>net.b07z.sepia.server.teach</groupId>
44
<artifactId>sepia-teach-API</artifactId>
5-
<version>2.0.0</version>
5+
<version>2.0.1</version>
66
<name>SEPIA Teach APIs</name>
77
<description>SEPIA APIs to teach the assistant and manage user and community contributions</description>
88

@@ -79,7 +79,7 @@
7979
<dependency>
8080
<groupId>net.b07z.sepia.server.core</groupId>
8181
<artifactId>sepia-core-tools</artifactId>
82-
<version>2.0.1</version>
82+
<version>2.1.0</version>
8383
</dependency>
8484

8585
<dependency>

src/main/java/net/b07z/sepia/server/teach/database/Elasticsearch.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ public JSONArray getPersonalCommands(HashMap<String, Object> filters) {
388388
}
389389
@Override
390390
public JSONArray getAllPersonalCommands(HashMap<String, Object> filters) {
391-
long from = Converters.obj2Long(filters.get("from")); if (from == -1) from = 0;
391+
long from = Converters.obj2LongOrDefault(filters.get("from"), -1l); if (from == -1) from = 0;
392392
String userId = (String) filters.get("userId");
393393
String language = (filters.containsKey("language"))? (String) filters.get("language") : "";
394394

src/main/java/net/b07z/sepia/server/teach/server/Config.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public final class Config {
2020
public static final String SERVERNAME = "SEPIA-Teach-API"; //public server name
2121
public static String localName = "sepia-teach-server"; //**user defined local server name
2222
public static String localSecret = "123456"; //**user defined secret to validate local server
23-
public static final String apiVersion = "v2.0.0"; //API version
23+
public static final String apiVersion = "v2.0.1"; //API version
2424
public static String privacyPolicyLink = ""; //Link to privacy policy
2525

2626
//helper for dynamic class creation

0 commit comments

Comments
 (0)