fix(prefs): small fix
This commit is contained in:
parent
83804b4008
commit
822763db2b
|
|
@ -45,7 +45,7 @@ export class PreferencesService {
|
|||
const user_id = await this.emailResolver.resolveUserIdWithEmail(email);
|
||||
if (!user_id.success) return { success: false, error: user_id.error }
|
||||
|
||||
const updated_preferences = await this.prisma.preferences.update({
|
||||
const updated_preferences: PreferencesDto = await this.prisma.preferences.update({
|
||||
where: { user_id: user_id.data },
|
||||
data: {
|
||||
notifications: dto.notifications,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user