Move update versioning to query parameter, and fix up scope API tests (#244)

* Move update versioning to query parameter, and fix up scope API tests

* Add version checks for update requests in other services
This commit is contained in:
Jeff Mitchell authored and GitHub committed 2020-08-07 17:56:55 -04:00
1 parent 0d0660b061
commit bbd200101f
16 files changed
+240 -102

No files matched your search

+1
View File
@@ -86,6 +86,7 @@ func (c *CreateScopeCommand) Run(args []string) int {
}
scp, apiErr, err := scopes.NewScopesClient(client).Create(c.Context,
client.ScopeId(),
scopes.WithName(c.flagName),
scopes.WithDescription(c.flagDescription))