Skip to content

Commit c55340d

Browse files
author
Caitlin Bales (MSFT)
committed
Strip extraneous quotations
1 parent ee17968 commit c55340d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/com/microsoft/graph/functional/TestBase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ private String GetAccessToken()
9898
conn.disconnect();
9999

100100
JsonObject res = new GsonBuilder().create().fromJson(jsonString.toString(), JsonObject.class);
101-
return res.get("access_token").toString();
101+
return res.get("access_token").toString().replaceAll("\"", "");
102102

103103
} catch (Exception e) {
104104
throw new Error("Error retrieving access token: " + e.getLocalizedMessage());

0 commit comments

Comments
 (0)