We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5de6e7 commit 6f6621fCopy full SHA for 6f6621f
spec/support/vcr_helper.rb
@@ -1,5 +1,7 @@
1
def fix_token_expires_at(interaction)
2
data = JSON.parse(interaction.response.body)
3
+ return if data.dig("token", "expires_at").nil?
4
+
5
data["token"]["expires_at"] = "9999-12-31T23:59:59.999999Z"
6
interaction.response.body = data.to_json.force_encoding('ASCII-8BIT')
7
end
0 commit comments