1
0
Fork 0
forked from mirror/pixelfed

Update HashtagFollow model, add MAX_LIMIT of 250 tags per account

This commit is contained in:
Daniel Supernault 2023-05-09 02:05:23 -06:00
parent 1a83c5858d
commit ed35214161
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -12,6 +12,8 @@ class HashtagFollow extends Model
'hashtag_id' 'hashtag_id'
]; ];
const MAX_LIMIT = 250;
public function hashtag() public function hashtag()
{ {
return $this->belongsTo(Hashtag::class); return $this->belongsTo(Hashtag::class);