oops
This commit is contained in:
parent
2042b33b5d
commit
d72f29b2c3
|
@ -43,7 +43,7 @@ export class NoteEntityService implements OnModuleInit {
|
|||
private pollsRepository: PollsRepository,
|
||||
|
||||
@Inject(DI.pollVotesRepository)
|
||||
private sRepository: PollVotesRepository,
|
||||
private pollVotesRepository: PollVotesRepository,
|
||||
|
||||
@Inject(DI.noteReactionsRepository)
|
||||
private noteReactionsRepository: NoteReactionsRepository,
|
||||
|
|
|
@ -43,10 +43,10 @@ export const paramDef = {
|
|||
markAsRead: { type: 'boolean', default: true },
|
||||
// 後方互換のため、廃止された通知タイプも受け付ける
|
||||
includeTypes: { type: 'array', items: {
|
||||
type: 'string', enum: [ ...notificationTypes, ...obsoleteNotificationTypes ],
|
||||
type: 'string', enum: [...notificationTypes, ...obsoleteNotificationTypes],
|
||||
} },
|
||||
excludeTypes: { type: 'array', items: {
|
||||
type: 'string', enum: [ ...notificationTypes, ...obsoleteNotificationTypes ],
|
||||
type: 'string', enum: [...notificationTypes, ...obsoleteNotificationTypes],
|
||||
} },
|
||||
},
|
||||
required: [],
|
||||
|
|
Loading…
Reference in New Issue