Skip to content

Commit

Permalink
chore: update CODEOWNERS file
Browse files Browse the repository at this point in the history
  • Loading branch information
namnhce committed Apr 19, 2023
1 parent 1fd8002 commit 26693b8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Default reviewers for every PR
* @huynguyenh @namnhce
.github/ @huynguyenh @namnhce @nguyennh4522
cmd/ @huynguyenh @namnhce @nguyennh4522 @thanhpn @datphamcode295
docs/ @huynguyenh @namnhce @nguyennh4522 @thanhpn @datphamcode295
migrations/ @huynguyenh @namnhce @nguyennh4522 @thanhpn @datphamcode295
pkg/ @huynguyenh @namnhce @nguyennh4522 @thanhpn @datphamcode295
* @huynguyenh @namnhce @lmquang
.github/ @huynguyenh @namnhce @lmquang
cmd/ @huynguyenh @namnhce @lmquang
docs/ @huynguyenh @namnhce @lmquang
migrations/ @huynguyenh @namnhce @lmquang
pkg/ @huynguyenh @namnhce @lmquang
8 changes: 4 additions & 4 deletions pkg/routes/v1.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,16 +169,16 @@ func loadV1Routes(r *gin.Engine, h *handler.Handler, repo store.DBRepo, s *store
valuation.GET("/:year", pmw.WithPerm(model.PermissionValuationRead), h.Valuation.One)
}

notion := v1.Group("/notion")
notion := v1.Group("/notion", amw.WithAuth, pmw.WithPerm(model.PermissionCronjobExecute))
{
earn := notion.Group("/earn")
{
earn.GET("", h.Notion.ListEarns)
}
techradar := notion.Group("/tech-radar")
techRadar := notion.Group("/tech-radar")
{
techradar.GET("", h.Notion.ListTechRadars)
techradar.POST("", h.Notion.CreateTechRadar)
techRadar.GET("", h.Notion.ListTechRadars)
techRadar.POST("", h.Notion.CreateTechRadar)
}
audience := notion.Group("/audiences")
{
Expand Down

0 comments on commit 26693b8

Please sign in to comment.