librarianphp / librarian-core

Core Librarian Source
MIT License
4 stars 1 forks source link

Fix importing articles from Devto #3

Closed thinkverse closed 3 years ago

thinkverse commented 3 years ago

This PR fixes the Devto importing. Noticed when trying librarian that importing from Devto didn't work correctly, it was trying to save the imported markdown as the path. This is due to the change in f9da74b635a13f199572e2133793b2d758ddee84 were Content is now extending from Parsed. Parsed expects the content when instantiating a new object, not the path.

DevtoServiceProvider uses the older syntax, this PR changes that and fixes the issue by switching places between the content and path.

erikaheidi commented 3 years ago

thank you and sorry for the delay :)