Fix error when persisting actors w/o display name

This commit is contained in:
Shadowfacts 2020-08-31 17:49:21 -04:00
parent ada0463e75
commit dc0b556e89
Signed by untrusted user: shadowfacts
GPG Key ID: 94A5AB95422746E5
1 changed files with 5 additions and 5 deletions

View File

@ -11,17 +11,17 @@ export default class Actor {
@Column({ type: "json" })
actorObject: ActorObject;
@Column()
@Column({ default: false })
isFollower: boolean;
@Column()
displayName: string;
@Column({ nullable: true })
displayName: string | null;
@Column()
inbox: string;
@Column()
iconURL: string;
@Column({ nullable: true })
iconURL: string | null;
@Column({ nullable: true })
publicKeyPem: string | null;