Add Group and Organization to validActor (#5784)

This commit is contained in:
Takeshi Umeda 2020-01-30 01:36:44 +09:00 committed by GitHub
parent 4845770880
commit 23f262c2e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -99,7 +99,7 @@ interface IQuestionChoice {
_misskey_votes?: number; _misskey_votes?: number;
} }
export const validActor = ['Person', 'Service']; export const validActor = ['Person', 'Service', 'Group', 'Organization'];
export interface IPerson extends IObject { export interface IPerson extends IObject {
type: 'Person'; type: 'Person';