Skip to content

Commit

Permalink
Remove reduntant property
Browse files Browse the repository at this point in the history
  • Loading branch information
sumathi.thirumani committed Dec 12, 2023
1 parent 25746fe commit d6bed4c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,5 @@ def getrequestidsbyoipcno(cls, oipcno):
class FOIRequestOIPCSchema(ma.Schema):
class Meta:
fields = ('oipcid', 'version', 'ministryrequestid', 'investigator','ministryversion','oipcno','reviewtypeid','reasonid','statusid','outcomeid','isinquiry','inquiryattributes','isjudicialreview',
'issubsequentappeal','isactive','receiveddate','closeddate','created_at','createdby','updated_at','updatedby',
'issubsequentappeal','receiveddate','closeddate','created_at','createdby','updated_at','updatedby',
'reviewtype.name', 'reason.name', 'status.name', 'outcome.name')
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,6 @@ def prepareoipc(self, requestschema, ministryrequestid, version, userid):
oipcreview.issubsequentappeal = oipc["issubsequentappeal"]
oipcreview.receiveddate = oipc["receiveddate"] if oipc["receiveddate"] not in (None, "") else None
oipcreview.closeddate = oipc["closeddate"] if oipc["closeddate"] not in (None, "") else None
oipcreview.isactive = True
if oipc["isinquiry"] == True:
oipcreview.inquiryattributes = oipc["inquiryattributes"]
oipcreview.createdby=userid
Expand Down

0 comments on commit d6bed4c

Please sign in to comment.