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

Activity patching not working #6

Open
gianklug opened this issue Jul 20, 2023 · 1 comment
Open

Activity patching not working #6

gianklug opened this issue Jul 20, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@gianklug
Copy link
Member

Let's take this sample code:

for activity in activities:
                activity["attributes"]["transferred"] = True
                timed.activities.patch(
                    activity["id"], activity["attributes"], {"task": task}
                )

However the activity transferred status is still false:

{"data":{"type":"activities","id":"172593","attributes":{"from-time":"00:44:10","to-time":"00:44:13","comment":"","date":"2023-07-21","transferred":false,"review":false,"not-billable":false},"relationships":{"user":{"data":{"type":"users","id":"199"}},"task":{"data":{"type":"tasks","id":"3604682"}}}}}
@c0rydoras c0rydoras added the bug Something isn't working label Jul 22, 2023
@c0rydoras
Copy link
Collaborator

Is this still happening?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants