Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

AO3-4205 Adding ip address when importing works without preview #3169

Open
wants to merge 3 commits into
from

Conversation

Projects
None yet
3 participants
Contributor

hatal175 commented Nov 18, 2017

Issue

https://otwarchive.atlassian.net/browse/AO3-4205

Purpose

Adds IP address of importer when posting without preview.

Testing

I added feature tests for these cases but the described procedure in the bug should do.

Credit

Tal Hayon

Please use he.

hatal175 added some commits Nov 11, 2017

@@ -81,6 +81,11 @@ def import_from_urls(urls, options = {})
urls.each do |url|
begin
work = download_and_parse_story(url, options)
+
+ if work
@houndci-bot

houndci-bot Nov 18, 2017

Use safe navigation (&.) instead of checking if an object exists before calling the method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment