fix Authorization
This commit is contained in:
@@ -841,6 +841,11 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
|
||||
Path: "/authorization/download/:documentId",
|
||||
Handler: authorization.DownloadAuthorizationDocumentHandler(serverCtx),
|
||||
},
|
||||
{
|
||||
Method: http.MethodGet,
|
||||
Path: "/authorization/download/file/:fileName",
|
||||
Handler: authorization.DownloadAuthorizationDocumentByNameHandler(serverCtx),
|
||||
},
|
||||
},
|
||||
rest.WithPrefix("/api/v1"),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user