From ce3f1f789c370e3203acc9b66c36c1b5d8709b61 Mon Sep 17 00:00:00 2001 From: Jackson Harper Date: Fri, 15 Sep 2023 22:21:31 +0800 Subject: [PATCH] Add subscription and integration to user --- pkg/admin/src/index.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/admin/src/index.ts b/pkg/admin/src/index.ts index c1b128727..687ddfb59 100644 --- a/pkg/admin/src/index.ts +++ b/pkg/admin/src/index.ts @@ -10,6 +10,8 @@ import { ReceivedEmail, Group, ContentDisplayReport, + Subscription, + Integration, } from './db' import { compare, hashSync } from 'bcryptjs' const readYamlFile = require('read-yaml-file') @@ -37,6 +39,8 @@ const ADMIN_USER_EMAIL = { resource: UserArticle, options: { parent: { name: 'Users' } } }, { resource: ReceivedEmail, options: { parent: { name: 'Users' } } }, { resource: Group, options: { parent: { name: 'Users' } } }, + { resource: Subscription, options: { parent: { name: 'Users' } } }, + { resource: Integration, options: { parent: { name: 'Users' } } }, { resource: ContentDisplayReport, },