Skip to content

Commit

Permalink
do not return detailed index result
Browse files Browse the repository at this point in the history
  • Loading branch information
pgayvallet committed Feb 24, 2020
1 parent 0ea85e0 commit 801189a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/core/server/saved_objects/routes/migrate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,10 @@ export const registerMigrateRoute = (
},
router.handleLegacyErrors(async (context, req, res) => {
const migrator = await migratorPromise;
const result = await migrator.runMigrations({ rerun: true });
await migrator.runMigrations({ rerun: true });
return res.ok({
body: {
success: true,
result,
},
});
})
Expand Down

0 comments on commit 801189a

Please sign in to comment.