Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Jan 1, 2025
1 parent 68666a4 commit fb4e27c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1048,7 +1048,11 @@ public void onResponse(
);
}

public void getLatest(final String updateUrl, final String channel, final Callback callback) {
public void getLatest(
final String updateUrl,
final String channel,
final Callback callback
) {
JSONObject json;
try {
json = this.createInfoObject();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -777,9 +777,7 @@ public void list(final PluginCall call) {

@PluginMethod
public void getLatest(final PluginCall call) {
final String channel = call.getString(
"channel"
);
final String channel = call.getString("channel");
startNewThread(() ->
CapacitorUpdaterPlugin.this.implementation.getLatest(
CapacitorUpdaterPlugin.this.updateUrl,
Expand Down

0 comments on commit fb4e27c

Please sign in to comment.