Skip to content

Commit 6575855

Browse files
skjnldsvsusnux
andauthored
fix(files_sharing): UserRateLimit period attribute
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
1 parent 70d0d8d commit 6575855

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/files_sharing/lib/Controller/ShareAPIController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ public function deleteShare(string $id): DataResponse {
557557
* 200: Share created
558558
*/
559559
#[NoAdminRequired]
560-
#[UserRateLimit(limit: 10, duration: 600)]
560+
#[UserRateLimit(limit: 10, period: 600)]
561561
public function createShare(
562562
?string $path = null,
563563
?int $permissions = null,

0 commit comments

Comments
 (0)