Skip to content

Commit

Permalink
reverted change in alerting
Browse files Browse the repository at this point in the history
  • Loading branch information
gmmorris committed Jun 18, 2020
1 parent 7c14ed2 commit 1c205c6
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions x-pack/plugins/alerts/server/saved_objects/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ export function setupSavedObjects(
savedObjects: SavedObjectsServiceSetup,
encryptedSavedObjects: EncryptedSavedObjectsPluginSetup
) {
savedObjects.registerType({
name: 'alert',
hidden: true,
namespaceType: 'single',
mappings: mappings.alert,
});

// Encrypted attributes
encryptedSavedObjects.registerType({
type: 'alert',
Expand All @@ -23,11 +30,4 @@ export function setupSavedObjects(
'updatedBy',
]),
});

savedObjects.registerType({
name: 'alert',
hidden: true,
namespaceType: 'single',
mappings: mappings.alert,
});
}

0 comments on commit 1c205c6

Please sign in to comment.