aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/actor/actor.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/models/actor/actor.ts')
-rw-r--r--server/models/actor/actor.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/server/models/actor/actor.ts b/server/models/actor/actor.ts
index 7be5a140c..88db241dc 100644
--- a/server/models/actor/actor.ts
+++ b/server/models/actor/actor.ts
@@ -1,4 +1,3 @@
1import { values } from 'lodash'
2import { literal, Op, QueryTypes, Transaction } from 'sequelize' 1import { literal, Op, QueryTypes, Transaction } from 'sequelize'
3import { 2import {
4 AllowNull, 3 AllowNull,
@@ -163,7 +162,7 @@ export const unusedActorAttributesForAPI = [
163export class ActorModel extends Model<Partial<AttributesOnly<ActorModel>>> { 162export class ActorModel extends Model<Partial<AttributesOnly<ActorModel>>> {
164 163
165 @AllowNull(false) 164 @AllowNull(false)
166 @Column(DataType.ENUM(...values(ACTIVITY_PUB_ACTOR_TYPES))) 165 @Column(DataType.ENUM(...Object.values(ACTIVITY_PUB_ACTOR_TYPES)))
167 type: ActivityPubActorType 166 type: ActivityPubActorType
168 167
169 @AllowNull(false) 168 @AllowNull(false)