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

Remove extra fields from get_transaction #646

Merged
merged 1 commit into from Sep 28, 2016

Conversation

vrde
Copy link
Contributor

@vrde vrde commented Sep 28, 2016

Using the /api/v1/transactions/<txid> Web API @TimDaub noticed that assignee and assignment_timestamp are returned for some calls.

After further investigation I noticed this behavior happens only when the transaction is in the backlog table. This PR is to fix this misbehavior.

response = self.connection.run(r.table('backlog').get(txid))
response = self.connection.run(r.table('backlog')
.get(txid)
.without('assignee', 'assignment_timestamp')
Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

👌 👌

@codecov-io
Copy link

codecov-io commented Sep 28, 2016

Current coverage is 95.71% (diff: 100%)

Merging #646 into master will decrease coverage by 0.15%

@@             master       #646   diff @@
==========================================
  Files            23         23          
  Lines          1308       1308          
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
- Hits           1254       1252     -2   
- Misses           54         56     +2   
  Partials          0          0          

Sunburst

Powered by Codecov. Last update 434797c...c59bda6

@vrde vrde merged commit c59bda6 into master Sep 28, 2016
@vrde vrde deleted the remove-extra-fields-from-get-transaction branch March 21, 2018 15:03
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.

None yet

3 participants