feat: support API /dashboard/billing/credit_grants now (#45)
This commit is contained in:
1 parent
6ff87f0796
commit
ac2a56f9cd
4 files changed
+43
-5
No files matched your search
@@ -35,9 +35,4 @@ func SetRelayRouter(router *gin.Engine) {
|
||||
relayV1Router.DELETE("/models/:model", controller.RelayNotImplemented)
|
||||
relayV1Router.POST("/moderations", controller.RelayNotImplemented)
|
||||
}
|
||||
relayDashboardRouter := router.Group("/dashboard") // TODO: return system's own token info
|
||||
relayDashboardRouter.Use(middleware.TokenAuth(), middleware.Distribute())
|
||||
{
|
||||
relayDashboardRouter.Any("/*path", controller.Relay)
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user