Skip to content
This repository has been archived by the owner on Jun 20, 2022. It is now read-only.

Commit

Permalink
fix: Removed useless async.
Browse files Browse the repository at this point in the history
  • Loading branch information
Shogun committed May 8, 2018
1 parent 3ba98ed commit 911a0f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/trail-hapi-plugin/lib/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ module.exports = (function () {
const routes = []

return {
async addApiRoute (server, collection, routeSpec) {
addApiRoute (server, collection, routeSpec) {
if (!routes[collection]) routes[collection] = []

routes[collection].push(routeSpec)
Expand Down

0 comments on commit 911a0f8

Please sign in to comment.