diff --git a/packages/backend/src/server/api/endpoints/i.ts b/packages/backend/src/server/api/endpoints/i.ts index 475468dac3..4284670499 100644 --- a/packages/backend/src/server/api/endpoints/i.ts +++ b/packages/backend/src/server/api/endpoints/i.ts @@ -73,8 +73,8 @@ export default class extends Endpoint { // eslint- this.userProfilesRepository.update({ userId: user.id }, { loggedInDates: [...userProfile.loggedInDates, today], }); - this.usersRepository.update({ userId: user.id }, { - getPoints: userProfile.getPoints + todayGetPoints, + this.usersRepository.update( user.id, { + getPoints: user.getPoints + todayGetPoints, }); this.notificationService.createNotification(user.id, 'loginbonus', { loginbonus: todayGetPoints, diff --git a/packages/frontend/src/components/MkMediaAudio.vue b/packages/frontend/src/components/MkMediaAudio.vue index 5d2edf467e..c38754a371 100644 --- a/packages/frontend/src/components/MkMediaAudio.vue +++ b/packages/frontend/src/components/MkMediaAudio.vue @@ -5,6 +5,7 @@ SPDX-License-Identifier: AGPL-3.0-only