specify nil body and json typ

Phillip Davis created

Change summary

sgx-bwmsgsv2.rb | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

Detailed changes

sgx-bwmsgsv2.rb 🔗

@@ -824,7 +824,9 @@ module SGXbwmsgsv2
 				api_token,
 				api_secret,
 				:get,
-				"api/v2/users/#{user_id}/media"
+				"api/v2/users/#{user_id}/media",
+				nil,
+				{'Content-Type' => 'application/json'}
 			).then { |response|
 				JSON.parse(response)
 				# TODO: confirm response is array - could be empty