1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-21 23:32:39 +00:00

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'
];
const MAX_LIMIT = 250;
public function hashtag()
{
return $this->belongsTo(Hashtag::class);