Add transfer logic as post sync process step.

Add authtoken for youtuber in test data setup to call transfer api
Update e2e test to include scenario where we transfer channel.
This commit is contained in:
Mark Beamer Jr 2019-08-15 23:34:25 -04:00 committed by Niko Storni
parent 4cc0b71279
commit d63aba568d
8 changed files with 82 additions and 9 deletions

View file

@ -45,6 +45,8 @@ type YoutubeChannel struct {
DesiredChannelName string `json:"desired_channel_name"`
Fee *Fee `json:"fee"`
ChannelClaimID string `json:"channel_claim_id"`
TransferState int `json:"transfer_state"`
PublishAddress string `json:"publish_address"`
}
func (a *APIConfig) FetchChannels(status string, cp *SyncProperties) ([]YoutubeChannel, error) {