Skip to content
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.

Commit

Permalink
converted to gorilla/mux for route handling of api
Browse files Browse the repository at this point in the history
  • Loading branch information
scottleedavis committed Apr 30, 2019
1 parent 75dbce8 commit 86d2040
Show file tree
Hide file tree
Showing 6 changed files with 180 additions and 168 deletions.
2 changes: 2 additions & 0 deletions server/activate.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ func (p *Plugin) OnActivate() error {
return errors.Wrap(err, "failed to query teams OnActivate")
}

p.router = p.InitAPI()

p.ensureBotExists()

for _, team := range teams {
Expand Down
Loading

0 comments on commit 86d2040

Please sign in to comment.