Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change subject.agent to subject.user #1087

Merged
merged 2 commits into from
Nov 9, 2016
Merged

Change subject.agent to subject.user #1087

merged 2 commits into from
Nov 9, 2016

Conversation

straleyb
Copy link
Contributor

@straleyb straleyb commented Nov 9, 2016

Fixes #1086

This uses subject.user instead of subject.agent.

@@ -30,7 +30,7 @@ def update_sipity_workflow_state

def create_sipity_comment
return true unless comment_text.present?
Sipity::Comment.create!(entity: subject.entity, agent: subject.agent, comment: comment_text)
Sipity::Comment.create!(entity: subject.entity, agent: subject.user, comment: comment_text)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this change caused the build to break

@jcoyne jcoyne merged commit 6a97fb6 into workflow Nov 9, 2016
@jcoyne jcoyne deleted the feature/UserNotAgent branch November 9, 2016 17:05
@jcoyne jcoyne removed the in progress label Nov 9, 2016
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