Merge remote-tracking branch 'origin/master'
This commit is contained in:
16
svc/main.go
16
svc/main.go
@@ -245,6 +245,22 @@ func InitRoutes(pgDB *sql.DB, mssql *sql.DB, ml *mailer.GraphMailer) *mux.Router
|
||||
wrapV3(routes.TestMailHandler(ml)),
|
||||
)
|
||||
|
||||
bindV3(r, pgDB,
|
||||
"/api/system/market-mail-mappings/lookups", "GET",
|
||||
"system", "update",
|
||||
wrapV3(routes.GetMarketMailMappingLookupsHandler(pgDB)),
|
||||
)
|
||||
bindV3(r, pgDB,
|
||||
"/api/system/market-mail-mappings", "GET",
|
||||
"system", "update",
|
||||
wrapV3(routes.GetMarketMailMappingsHandler(pgDB)),
|
||||
)
|
||||
bindV3(r, pgDB,
|
||||
"/api/system/market-mail-mappings/{marketId}", "PUT",
|
||||
"system", "update",
|
||||
wrapV3(routes.SaveMarketMailMappingHandler(pgDB)),
|
||||
)
|
||||
|
||||
// ============================================================
|
||||
// PERMISSIONS
|
||||
// ============================================================
|
||||
|
||||
Reference in New Issue
Block a user