mirror of
https://github.com/retailcrm/api-client-go.git
synced 2025-04-02 20:56:17 +03:00
example fix
This commit is contained in:
parent
863202f5f4
commit
0cb83a57bb
1 changed files with 2 additions and 5 deletions
|
@ -2156,11 +2156,8 @@ func (c *Client) IntegrationModuleEdit(integrationModule IntegrationModule) (
|
|||
//
|
||||
// var client = retailcrm.New("https://demo.url", "09jIJ")
|
||||
//
|
||||
// requires := "MS"
|
||||
// code := "moysklad3"
|
||||
//
|
||||
// data, status, err := client.IntegrationModuleEdit(retailcrm.UpdateScopesRequest{
|
||||
// Requires: retailcrm.ScopesRequired{Scopes: ["scope1", "scope2]},
|
||||
// data, status, err := client.UpdateScopes("moysklad3", retailcrm.UpdateScopesRequest{
|
||||
// Requires: retailcrm.ScopesRequired{Scopes: []string{"scope1", "scope2"}}},
|
||||
// })
|
||||
//
|
||||
// if err.Error() != "" {
|
||||
|
|
Loading…
Add table
Reference in a new issue