devvit icon indicating copy to clipboard operation
devvit copied to clipboard

More consistent object data from ModAction events

Open pl00h opened this issue 1 year ago • 0 comments

Noticed an inconsistency in the event object data for the ModAction event: event.targetComment uses the author property name but returns the author ID (event.targetPost uses the authorId property name instead)

Also, event.targetPost uses the selftext property instead of the body property used by the Post class

pl00h avatar Apr 22 '24 21:04 pl00h