mirror of
https://github.com/serty2005/rmser.git
synced 2026-02-04 19:02:33 -06:00
авторизация fixed
This commit is contained in:
@@ -115,7 +115,7 @@ func main() {
|
||||
|
||||
api := r.Group("/api")
|
||||
|
||||
api.Use(middleware.AuthMiddleware(accountRepo))
|
||||
api.Use(middleware.AuthMiddleware(accountRepo, cfg.Telegram.Token))
|
||||
{
|
||||
// Drafts & Invoices
|
||||
api.GET("/drafts", draftsHandler.GetDrafts)
|
||||
|
||||
Reference in New Issue
Block a user