Removing JSON not used by scanner app

This commit is contained in:
Chase Tucker
2025-06-30 13:07:11 -07:00
committed by Tucker Chase (CSC FI SPS MESLEO)
parent 653ba1619f
commit fd55fe06a9
2 changed files with 2 additions and 112 deletions

View File

@ -423,14 +423,6 @@ CreateHALItem:
jsonScan = Scan_Services('ConvertMVScanToJSON', ScanID, '', FullEndpointURL)
If Error_Services('NoError') then
If SRP_JSON(objResource, 'Parse', jsonScan) EQ '' then
lastModified = SRP_JSON(objResource, 'GetValue', 'lastModified')
end else
lastModified = ''
end
SRP_JSON(objResource, 'Release')
HTTP_Services('SetResponseHeaderField', 'Content-Location', FullEndpointURL)
HTTP_Services('SetResponseHeaderField', 'Last-Modified', lastModified)
HTTP_Services('SetResponseBody', jsonScan, False$, 'application/hal+json')
If Assigned(Message) then
HTTP_Services('SetResponseStatus', StatusCode, Message)
@ -444,3 +436,4 @@ CreateHALItem:
return