Skip to content
This repository has been archived by the owner on Oct 14, 2023. It is now read-only.

Commit

Permalink
Fix missing secret key for novice audios
Browse files Browse the repository at this point in the history
  • Loading branch information
fizvlad committed Mar 19, 2020
1 parent 45385b6 commit d8e02de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/vk_music/audio.rb
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ def initialize(id: nil, owner_id: nil, secret_1: nil, secret_2: nil, artist: "",
@owner_id = owner_id
@secret_1 = secret_1
@secret_2 = secret_2
@secret_1 = @secret_2 if @secret_1.nil? || @secret_1.empty?
@artist = artist.strip
@title = title.strip
@duration = duration
Expand Down
2 changes: 1 addition & 1 deletion lib/vk_music/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module VkMusic
##
# Library version.
VERSION = "3.1.1"
VERSION = "3.1.2"
end

0 comments on commit d8e02de

Please sign in to comment.