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: 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" }) @Column({ type: "json" })
actorObject: ActorObject; actorObject: ActorObject;
@Column() @Column({ default: false })
isFollower: boolean; isFollower: boolean;
@Column() @Column({ nullable: true })
displayName: string; displayName: string | null;
@Column() @Column()
inbox: string; inbox: string;
@Column() @Column({ nullable: true })
iconURL: string; iconURL: string | null;
@Column({ nullable: true }) @Column({ nullable: true })
publicKeyPem: string | null; publicKeyPem: string | null;