mirror of
https://github.com/immich-app/immich
synced 2026-08-22 13:13:05 +00:00
fix: calendar heatmap api key permissions (#30314)
This commit is contained in:
parent
4225281f9f
commit
f68815e35f
3 changed files with 12 additions and 2 deletions
|
|
@ -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.',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue