pack(Many) の me が optional にならないように
This commit is contained in:
parent
1a5ba39329
commit
df0a663283
26 changed files with 36 additions and 35 deletions
|
@ -275,7 +275,7 @@ export class NoteEntityService implements OnModuleInit {
|
|||
@bindThis
|
||||
public async pack(
|
||||
src: MiNote['id'] | MiNote,
|
||||
me?: { id: MiUser['id'] } | null | undefined,
|
||||
me: { id: MiUser['id'] } | null | undefined,
|
||||
options?: {
|
||||
detail?: boolean;
|
||||
skipHide?: boolean;
|
||||
|
@ -396,7 +396,7 @@ export class NoteEntityService implements OnModuleInit {
|
|||
@bindThis
|
||||
public async packMany(
|
||||
notes: MiNote[],
|
||||
me?: { id: MiUser['id'] } | null | undefined,
|
||||
me: { id: MiUser['id'] } | null | undefined,
|
||||
options?: {
|
||||
detail?: boolean;
|
||||
skipHide?: boolean;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue