From 4649876956ab944d2a9ea8fc98c75dc8a9f5ef08 Mon Sep 17 00:00:00 2001 From: Wim Date: Sat, 25 Jun 2022 00:36:16 +0200 Subject: Update dependencies (#1851) --- vendor/github.com/SevereCloud/vksdk/v2/.golangci.yml | 3 +++ vendor/github.com/SevereCloud/vksdk/v2/doc.go | 2 +- vendor/github.com/SevereCloud/vksdk/v2/object/groups.go | 10 +++++----- vendor/github.com/SevereCloud/vksdk/v2/object/video.go | 2 +- 4 files changed, 10 insertions(+), 7 deletions(-) (limited to 'vendor/github.com/SevereCloud/vksdk/v2') diff --git a/vendor/github.com/SevereCloud/vksdk/v2/.golangci.yml b/vendor/github.com/SevereCloud/vksdk/v2/.golangci.yml index ff1db59c..66712f60 100644 --- a/vendor/github.com/SevereCloud/vksdk/v2/.golangci.yml +++ b/vendor/github.com/SevereCloud/vksdk/v2/.golangci.yml @@ -57,6 +57,8 @@ linters: - grouper - decorder - containedctx + # - execinquery # FIXME: panic in 1.46.0 + - nosprintfhostport # - wrapcheck # TODO: v3 Fix # - testpackage # TODO: Fix testpackage @@ -87,6 +89,7 @@ linters: # - varnamelen # - errchkjson # - maintidx +# - nonamedreturns # depricated # - maligned diff --git a/vendor/github.com/SevereCloud/vksdk/v2/doc.go b/vendor/github.com/SevereCloud/vksdk/v2/doc.go index 3e3c12a1..aa532f9c 100644 --- a/vendor/github.com/SevereCloud/vksdk/v2/doc.go +++ b/vendor/github.com/SevereCloud/vksdk/v2/doc.go @@ -7,6 +7,6 @@ package vksdk // Module constants. const ( - Version = "2.14.0" + Version = "2.14.1" API = "5.131" ) diff --git a/vendor/github.com/SevereCloud/vksdk/v2/object/groups.go b/vendor/github.com/SevereCloud/vksdk/v2/object/groups.go index 6cabae01..8f1636b4 100644 --- a/vendor/github.com/SevereCloud/vksdk/v2/object/groups.go +++ b/vendor/github.com/SevereCloud/vksdk/v2/object/groups.go @@ -210,7 +210,7 @@ type GroupsGroup struct { MainSection int `json:"main_section,omitempty"` OnlineStatus GroupsOnlineStatus `json:"online_status,omitempty"` // Status of replies in community messages AgeLimits int `json:"age_limits,omitempty"` // Information whether age limit - BanInfo GroupsGroupBanInfo `json:"ban_info,omitempty"` // User ban info + BanInfo *GroupsGroupBanInfo `json:"ban_info,omitempty"` // User ban info Addresses GroupsAddressesInfo `json:"addresses,omitempty"` // Info about addresses in Groups LiveCovers GroupsLiveCovers `json:"live_covers,omitempty"` CropPhoto UsersCropPhoto `json:"crop_photo,omitempty"` @@ -963,10 +963,10 @@ type GroupsOnlineStatus struct { // GroupsOwnerXtrBanInfo struct. type GroupsOwnerXtrBanInfo struct { - BanInfo GroupsBanInfo `json:"ban_info"` - Group GroupsGroup `json:"group"` - Profile UsersUser `json:"profile"` - Type string `json:"type"` + BanInfo *GroupsBanInfo `json:"ban_info"` + Group GroupsGroup `json:"group"` + Profile UsersUser `json:"profile"` + Type string `json:"type"` } // GroupsSubjectItem struct. diff --git a/vendor/github.com/SevereCloud/vksdk/v2/object/video.go b/vendor/github.com/SevereCloud/vksdk/v2/object/video.go index d86143a9..6774fa00 100644 --- a/vendor/github.com/SevereCloud/vksdk/v2/object/video.go +++ b/vendor/github.com/SevereCloud/vksdk/v2/object/video.go @@ -31,7 +31,7 @@ type VideoVideo struct { CanLike BaseBoolInt `json:"can_like"` // Information whether current user can download the video. - CanDownload BaseBoolInt `json:"can_download"` + CanDownload int `json:"can_download"` // Information whether current user can repost this video. CanRepost BaseBoolInt `json:"can_repost"` -- cgit v1.2.3