Skip to content

Commit

Permalink
Changing log url for Granta
Browse files Browse the repository at this point in the history
(cherry picked from commit e10b25e)
  • Loading branch information
Stanislav committed Oct 18, 2024
1 parent 8c37dea commit e97b2b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mupifDB/restApiControl.py
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ def setExecutionParameter(execution_id, param, value, val_type="str"):
url = RESTserver + 'executions/' + str(execution_id)
token = getAuthToken()
headers = {'content-type': 'application/json', 'charset': 'UTF-8', 'accept': 'application/json', 'Accept-Charset': 'UTF-8', 'Authorization': f'Bearer {token["access_token"]}'}
newdata = {"logs": {"url": "https://musicode.grantami.com/musicode/filestore/%s" % str(value), "description": None}}
newdata = {"logs": {"url": "https://musicode.grantami.com/mi/datasheet.aspx?dbKey=MI_Musicode&recordGuid=%s" % str(value), "description": None}} # https://musicode.grantami.com/musicode/filestore/
r = rPatch(url=url, headers=headers, data=json.dumps(newdata))
if r.status_code == 200:
return True
Expand Down

0 comments on commit e97b2b5

Please sign in to comment.