mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
fix: show/set activity like per user (#4775)
* fix: like per user * chore: open api * chore: e2e test for userId filtering
This commit is contained in:
parent
cf4ec06750
commit
0130591a0f
10 changed files with 89 additions and 17 deletions
|
|
@ -123,9 +123,10 @@
|
|||
};
|
||||
|
||||
const getFavorite = async () => {
|
||||
if (album) {
|
||||
if (album && user) {
|
||||
try {
|
||||
const { data } = await api.activityApi.getActivities({
|
||||
userId: user.id,
|
||||
assetId: asset.id,
|
||||
albumId: album.id,
|
||||
type: ReactionType.Like,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue