mirror of
https://github.com/YunoHost-Apps/pixelfed_ynh.git
synced 2024-09-03 20:06:04 +02:00
Update RateLimit trait
This commit is contained in:
parent
9141e70131
commit
880c8e8a71
1 changed files with 15 additions and 0 deletions
|
@ -68,4 +68,19 @@ trait User {
|
|||
{
|
||||
return 100;
|
||||
}
|
||||
|
||||
public function getMaxCollectionsPerHourAttribute()
|
||||
{
|
||||
return 10;
|
||||
}
|
||||
|
||||
public function getMaxCollectionsPerDayAttribute()
|
||||
{
|
||||
return 20;
|
||||
}
|
||||
|
||||
public function getMaxCollectionsPerMonthAttribute()
|
||||
{
|
||||
return 100;
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue