Skip to content

Commit

Permalink
add subject in deferred messages
Browse files Browse the repository at this point in the history
  • Loading branch information
sthapa committed Jan 28, 2025
1 parent 5a99a4a commit a71213b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion froide/foirequest/services.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ def create_request(self, publicbody, sequence=0):
if "tags" in data and data["tags"]:
request.tags.add(*[t[:100] for t in data["tags"]])

subject = u'Records Request for %s: %s' % (publicbody.name, request.title)
subject = f'Records Request for {publicbody.name}: {request.title} [#{request.pk}'
message = FoiMessage(
request=request,
sent=False,
Expand Down

0 comments on commit a71213b

Please sign in to comment.