Skip to content

Commit

Permalink
add author email to cp ninjs output (#243)
Browse files Browse the repository at this point in the history
SDCP-756
  • Loading branch information
petrjasek authored May 17, 2024
1 parent e502464 commit ad5e093
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/cp/output/formatter/cp_ninjs_formatter.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ class CPNINJSFormatter(NINJSFormatter):
type = "cpninjs"
name = "CP NINJS"

author_user_fields = ["email"]

def _transform_to_ninjs(self, article, subscriber, recursive=True):
ninjs = super()._transform_to_ninjs(article, subscriber, recursive=recursive)

Expand Down

0 comments on commit ad5e093

Please sign in to comment.