Skip to content

Fix handling of streams in feed uploads#22

Merged
lyubo-slavilov merged 1 commit into
double-break:masterfrom
Alanaktion:fix-stream-feeds
Feb 27, 2021
Merged

Fix handling of streams in feed uploads#22
lyubo-slavilov merged 1 commit into
double-break:masterfrom
Alanaktion:fix-stream-feeds

Conversation

@Alanaktion

Copy link
Copy Markdown
Contributor

This changes the uploadFeedDocument function to correctly handle a stream resource in the feedContentFilePath parameter. Previously, it would trigger a TypeError when calling file_get_contents.

If this is working correctly in some way already, I may be misunderstanding how this is meant to be used, but this fixed the issue for me.

This changes the uploadFeedDocument function to correctly handle a stream resource in the `feedContentFilePath` parameter. Previously, it would trigger a TypeError when calling `file_get_contents`.
@lyubo-slavilov

Copy link
Copy Markdown
Contributor

thanks!

@lyubo-slavilov lyubo-slavilov merged commit f0de682 into double-break:master Feb 27, 2021
@Alanaktion Alanaktion deleted the fix-stream-feeds branch August 2, 2021 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants