From 2b9f12f262fe9a07d69ac86871a77c4336121364 Mon Sep 17 00:00:00 2001 From: Akolzin Dmitry Date: Tue, 26 Oct 2021 13:16:58 +0300 Subject: [PATCH] add scopes to credentials method response --- v5/response.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/v5/response.go b/v5/response.go index 3920682..3dde1ea 100644 --- a/v5/response.go +++ b/v5/response.go @@ -32,7 +32,9 @@ type VersionResponse struct { // CredentialResponse return available API methods. type CredentialResponse struct { Success bool `json:"success,omitempty"` + // deprecated Credentials []string `json:"credentials,omitempty"` + Scopes []string `json:"scopes,omitempty"` SiteAccess string `json:"siteAccess,omitempty"` SitesAvailable []string `json:"sitesAvailable,omitempty"` }