Skip to content
This repository has been archived by the owner on Jan 8, 2025. It is now read-only.

Commit

Permalink
hoek added to externals; unnecessary hook removed
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleksandr Zarubin committed May 4, 2018
1 parent b91795f commit 0a5f68f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 35 deletions.
33 changes: 0 additions & 33 deletions api/hooks/put_update.js

This file was deleted.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
Expand Down
2 changes: 0 additions & 2 deletions server/routes.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
const linkRoute = require('../api/get_index');
const onInstall = require('../api/hooks/post_install');
const onUpdate = require('../api/hooks/put_update');
const onUninstall = require('../api/hooks/delete_uninstall');
const metaRoute = require('../api/get_meta');
const getAdminIndex = require('../api/admin/get_index');
Expand All @@ -16,7 +15,6 @@ const createRoute = (route, server) => server.route(route(server));
const register = (server, options, next) => {
createRoute(linkRoute, server);
createRoute(onInstall, server);
createRoute(onUpdate, server);
createRoute(onUninstall, server);
createRoute(metaRoute, server);
createRoute(getAdminIndex, server);
Expand Down

0 comments on commit 0a5f68f

Please sign in to comment.