We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a0a634f commit b5d2cbaCopy full SHA for b5d2cba
APIJSON-Java-Server/APIJSONORM/src/main/java/apijson/orm/AbstractParser.java
@@ -756,8 +756,8 @@ public JSONObject onObjectParse(final JSONObject request
756
757
JSONObject pagination = new JSONObject(true);
758
pagination.put(JSONResponse.KEY_TOTAL, total);
759
- pagination.put(JSONResponse.KEY_COUNT, count);
760
- pagination.put(JSONResponse.KEY_INFO, page);
+ pagination.put(JSONRequest.KEY_COUNT, count);
+ pagination.put(JSONRequest.KEY_PAGE, page);
761
pagination.put(JSONResponse.KEY_MAX, max);
762
pagination.put(JSONResponse.KEY_MORE, page < max);
763
pagination.put(JSONResponse.KEY_FIRST, page == 0);
0 commit comments