Fix AP flag validator
This commit is contained in:
parent
5a2c0f0c99
commit
43b513660b
|
@ -49,7 +49,7 @@ function isActivityValid (activity: any) {
|
|||
}
|
||||
|
||||
function isFlagActivityValid (activity: any) {
|
||||
return isBaseActivityValid(activity.type, 'Flag') &&
|
||||
return isBaseActivityValid(activity, 'Flag') &&
|
||||
isAbuseReasonValid(activity.content) &&
|
||||
isActivityPubUrlValid(activity.object)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue