mirror of
https://github.com/immich-app/immich.git
synced 2026-08-03 01:17:42 -07:00
fix: calendar heatmap api key permissions (#30314)
This commit is contained in:
@@ -102,7 +102,7 @@ export class UserAdminController {
|
||||
}
|
||||
|
||||
@Get(':id/calendar-heatmap')
|
||||
@Authenticated({ permission: Permission.UserRead, admin: true })
|
||||
@Authenticated({ permission: Permission.AdminUserRead, admin: true })
|
||||
@Endpoint({
|
||||
summary: 'Retrieve calendar heatmap activity',
|
||||
description: 'Retrieve activity counts for a specified period, in a calendar heatmap format.',
|
||||
|
||||
Reference in New Issue
Block a user