import public keys if available

This commit is contained in:
Niko Storni 2019-09-24 20:42:17 +02:00
parent 45982f30c5
commit 849ff11bfd
5 changed files with 33 additions and 3 deletions

View file

@ -58,6 +58,7 @@ type YoutubeChannel struct {
ChannelClaimID string `json:"channel_claim_id"`
TransferState int `json:"transfer_state"`
PublishAddress string `json:"publish_address"`
PublicKey string `json:"public_key"`
}
func (a *APIConfig) FetchChannels(status string, cp *SyncProperties) ([]YoutubeChannel, error) {