Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: go cts
  • Loading branch information
shortcuts committed Mar 24, 2025
commit af4f5ea6ef7564a8129558212b33a9a35b5b95c8
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,13 @@ public String getClient() {

@Override
public void addDataToBundle(Map<String, Object> bundle) throws GeneratorException {
Object clientPrefix = bundle.get("clientPrefix");
String clientPrefix = (String) bundle.get("clientPrefix");
bundle.put("clientName", Helpers.toPascalCase(this.client));

if (clientPrefix.equals("query-suggestions")) {
bundle.put("clientPrefix", "suggestions");
} else {
bundle.put("clientPrefix", Helpers.camelize(clientPrefix));
}

bundle.put("clientImport", clientPrefix);
Expand Down