Skip to content

Commit

Permalink
debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
aparna-aot committed Jul 25, 2024
1 parent 00c496c commit 5600298
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api/reviewer_api/resources/foiflowmasterdata.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ class FOIFlowS3PresignedRedline(Resource):
def post(ministryrequestid, redactionlayer="redline", layertype="redline"):
try:
data = request.get_json()
print("data!:",data)
requesttype = data["requestType"]
documentmapper = redactionservice().getdocumentmapper(
data["divdocumentList"][0]["documentlist"][0]["filepath"].split("/")[3]
Expand Down Expand Up @@ -287,6 +288,7 @@ def post(ministryrequestid, redactionlayer="redline", layertype="redline"):
ExpiresIn=3600,
HttpMethod="PUT",
)
print("s3path_save:",s3path_save)
singlepkgpath = s3path_save
data["s3path_save"] = s3path_save

Expand Down

0 comments on commit 5600298

Please sign in to comment.