Skip to content

Commit

Permalink
Fix assert error in checkin_files_task for website tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Vlad0n20 committed Dec 13, 2024
1 parent 6f362f5 commit 7ac2544
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/osfstorage/listeners.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def checkin_files_task(node_id, user_id):
Guid = apps.get_model('osf.Guid')
OSFUser = apps.get_model('osf.OSFUser')

node = Guid.load_referent(node_id)
node, _ = Guid.load_referent(node_id)
assert isinstance(node, (AbstractNode, Preprint))
user = OSFUser.load(user_id)

Expand Down

0 comments on commit 7ac2544

Please sign in to comment.