Compare commits

..

1 Commits

Author SHA1 Message Date
Shadowfacts 77ee132983
Fix errors on actors missing public keys 2020-04-15 13:13:52 -04:00
2 changed files with 4 additions and 4 deletions

View File

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

View File

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