Skip to content

Commit

Permalink
fix default value
Browse files Browse the repository at this point in the history
  • Loading branch information
dragonpoo authored and ludomikula committed Nov 26, 2024
1 parent 837fa89 commit 91215b2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public Mono<ResponseView<DatasourceStructure>> getStructure(@PathVariable String
*/
@Override
public Mono<PageResponseView<?>> listJsDatasourcePlugins(@RequestParam("appId") String applicationId, @RequestParam(required = false) String name, @RequestParam(required = false) String type,
@RequestParam(required = false, defaultValue = "1s") int pageNum,
@RequestParam(required = false, defaultValue = "1") int pageNum,
@RequestParam(required = false, defaultValue = "0") int pageSize) {
String objectId = gidService.convertApplicationIdToObjectId(applicationId);
return fluxToPageResponseView(pageNum, pageSize, datasourceApiService.listJsDatasourcePlugins(objectId, name, type));
Expand Down

0 comments on commit 91215b2

Please sign in to comment.