Compare commits

..

1 Commits

Author SHA1 Message Date
Shadowfacts bc98637dcf
Fix errors on actors missing public keys 2020-04-15 12:57:17 -04:00
2 changed files with 4 additions and 4 deletions

View File

@ -56,8 +56,8 @@ export interface ActorObject {
endpoints?: { endpoints?: {
sharedInbox?: string; sharedInbox?: string;
} }
publicKey?: { publicKey: {
publicKeyPem?: string; publicKeyPem: string;
}; };
icon: string | object | (string | object)[]; icon: string | object | (string | object)[];
} }

View File

@ -23,8 +23,8 @@ export default class Actor {
@Column() @Column()
iconURL: string; iconURL: string;
@Column({ nullable: true }) @Column()
publicKeyPem: string | null; publicKeyPem: string;
@OneToMany(type => Note, note => note.actor) @OneToMany(type => Note, note => note.actor)
notes: Note[]; notes: Note[];