Skip to content

Commit b7dc241

Browse files
gguusslesv
authored andcommitted
Fixes misnamed parameter
1 parent c52d7a7 commit b7dc241

File tree

1 file changed

+1
-1
lines changed
  • iot/api-client/manager/src/main/java/com/example/cloud/iot/examples

1 file changed

+1
-1
lines changed

iot/api-client/manager/src/main/java/com/example/cloud/iot/examples/HttpExample.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ protected static void main(String[] args) throws Exception {
231231
// Create the corresponding JWT depending on the selected algorithm.
232232
String token;
233233
DateTime iat = new DateTime();
234-
if ("RSA256".equals(options.algorithm)) {
234+
if ("RS256".equals(options.algorithm)) {
235235
token = createJwtRsa(options.projectId, options.privateKeyFile);
236236
} else if ("ES256".equals(options.algorithm)) {
237237
token = createJwtEs(options.projectId, options.privateKeyFile);

0 commit comments

Comments
 (0)