1
0
mirror of https://github.com/rancher/norman.git synced 2025-09-12 13:26:13 +00:00

Fix a series of url parsing issues

This commit is contained in:
Darren Shepherd
2018-02-13 16:42:40 -07:00
parent 0f7c2968c9
commit c814e62e43
2 changed files with 20 additions and 16 deletions

View File

@@ -22,7 +22,7 @@ var upgrader = websocket.Upgrader{}
type Subscribe struct {
ResourceTypes []string
APIVersions []string
ProjectID string `norman:"type=reference[project]"`
ProjectID string `norman:"type=reference[/v3/schemas/project]"`
}
func Handler(apiContext *types.APIContext, _ types.RequestHandler) error {