mirror of https://github.com/pixelfed/pixelfed.git
Update RateLimit trait
This commit is contained in:
parent
9141e70131
commit
880c8e8a71
|
@ -68,4 +68,19 @@ trait User {
|
||||||
{
|
{
|
||||||
return 100;
|
return 100;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getMaxCollectionsPerHourAttribute()
|
||||||
|
{
|
||||||
|
return 10;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getMaxCollectionsPerDayAttribute()
|
||||||
|
{
|
||||||
|
return 20;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getMaxCollectionsPerMonthAttribute()
|
||||||
|
{
|
||||||
|
return 100;
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue