Skip to content

Commit

Permalink
Don't pass in the prefix, but the full ID
Browse files Browse the repository at this point in the history
  • Loading branch information
ctron committed Sep 30, 2019
1 parent 902fce4 commit a66c83e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ private static void runSimulator(final AppRuntime runtime) throws InterruptedExc
final String username = String.format("user-%s-%s", deviceIdPrefix, i);
final String deviceId = String.format("%s-%s", deviceIdPrefix, i);

final var request = createRequest(webClient, config, Payload.payload(), Tenant.TENANT, deviceIdPrefix,
final var request = createRequest(webClient, config, Payload.payload(), Tenant.TENANT, deviceId,
username, "hono-secret");

final Device device = new Device(() -> request, username, deviceId, Tenant.TENANT,
Expand Down

0 comments on commit a66c83e

Please sign in to comment.