aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-01-11 11:40:18 +0100
committerChocobozzz <me@florianbigard.com>2018-01-11 11:47:44 +0100
commit7bc29171456ffa91c7ec8dc77e892c7dca359989 (patch)
treec7682072919bf00f8b082c1c49f24567e181800f /server/models
parent85cd9bde5a93500f973773f46680c07dd90d5912 (diff)
downloadPeerTube-7bc29171456ffa91c7ec8dc77e892c7dca359989.tar.gz
PeerTube-7bc29171456ffa91c7ec8dc77e892c7dca359989.tar.zst
PeerTube-7bc29171456ffa91c7ec8dc77e892c7dca359989.zip
Add tests to handle down server
Diffstat (limited to 'server/models')
-rw-r--r--server/models/activitypub/actor.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/models/activitypub/actor.ts b/server/models/activitypub/actor.ts
index 912d8d748..6c74aa61b 100644
--- a/server/models/activitypub/actor.ts
+++ b/server/models/activitypub/actor.ts
@@ -41,11 +41,11 @@ enum ScopeNames {
41 [ScopeNames.FULL]: { 41 [ScopeNames.FULL]: {
42 include: [ 42 include: [
43 { 43 {
44 model: () => AccountModel, 44 model: () => AccountModel.unscoped(),
45 required: false 45 required: false
46 }, 46 },
47 { 47 {
48 model: () => VideoChannelModel, 48 model: () => VideoChannelModel.unscoped(),
49 required: false 49 required: false
50 }, 50 },
51 { 51 {