From cd4cebac78dfda353f8ff8571249341c6e120174 Mon Sep 17 00:00:00 2001 From: Denver Gingerich Date: Thu, 7 May 2020 04:53:41 +0000 Subject: [PATCH] add code for fixing V1 user_id - continues 9fece75 --- sgx-bwmsgsv2.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/sgx-bwmsgsv2.rb b/sgx-bwmsgsv2.rb index 627c9baff6b45b9e88298f22cc4c9bc6b490490d..f48b8546f6266ceb9de6dcb704b01dbf5c5cfd11 100755 --- a/sgx-bwmsgsv2.rb +++ b/sgx-bwmsgsv2.rb @@ -215,6 +215,7 @@ module SGXbwmsgsv2 url_prefix = 'https://api.catapult.inetwork.com/' # TODO: set token and secret to vals provided at startup # TODO: replace pth's user_id with user_id from ARGV[7] + # -> pth = "v1/users/#{new_id}/" + pth.split('/', 4)[3] else # TODO: error end