Skip to content

Commit

Permalink
add back in default value for datestamp as none
Browse files Browse the repository at this point in the history
  • Loading branch information
nkan-aot2 authored Dec 12, 2024
1 parent 2102479 commit 76f3c97
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class commentservice:
"""


def createcomment(self, requesttype, requestid, comment, userid, type=1, createdat):
def createcomment(self, requesttype, requestid, comment, userid, type=1, createdat=None):
foirequest = self.getrequest(requestid, requesttype)
_comment = self.__preparecomment(foirequest, comment)
FOIRequestComment().savecomment(type, _comment, userid, createdat)
Expand Down

0 comments on commit 76f3c97

Please sign in to comment.