Drop leading slash in api network requests

This commit is contained in:
andrew committed 2024-02-02 05:42:22 -05:00
1 parent fdbec02818
commit 732e7b1d61
1 file changed
+1 -1
+1 -1
View File
@@ -244,7 +244,7 @@ def download_network(server, username, password, engine, net_name, net_sha, net_
# Format the API request, including credentials
print ('Fetching %s (%s) for %s' % (net_name, net_sha, engine))
endpoint = '/api/networks/%s/%s' % (engine, net_sha)
endpoint = 'api/networks/%s/%s' % (engine, net_sha)
request = credentialed_request(server, username, password, endpoint)
# Write the content out to the net_path in kb chunks