mirror of
https://github.com/outline/outline.git
synced 2026-04-28 21:49:32 -05:00
chore: Remove from presenter payloads
This commit is contained in:
@@ -25,8 +25,6 @@ class Integration<T = unknown> extends Model {
|
||||
@Relation(() => User, { onDelete: "cascade" })
|
||||
user: User;
|
||||
|
||||
teamId: string;
|
||||
|
||||
@Field
|
||||
@observable
|
||||
events: string[];
|
||||
|
||||
@@ -61,7 +61,6 @@ async function presentDocument(
|
||||
publishedAt: document.publishedAt,
|
||||
archivedAt: document.archivedAt,
|
||||
deletedAt: document.deletedAt,
|
||||
teamId: document.teamId,
|
||||
collaboratorIds: [],
|
||||
revision: document.revisionCount,
|
||||
fullWidth: document.fullWidth,
|
||||
|
||||
@@ -5,7 +5,6 @@ export default function presentIntegration(integration: Integration) {
|
||||
id: integration.id,
|
||||
type: integration.type,
|
||||
userId: integration.userId,
|
||||
teamId: integration.teamId,
|
||||
collectionId: integration.collectionId,
|
||||
authenticationId: integration.authenticationId,
|
||||
service: integration.service,
|
||||
|
||||
Reference in New Issue
Block a user