Skip to content

Commit

Permalink
update to new code
Browse files Browse the repository at this point in the history
  • Loading branch information
ahamelers committed Oct 30, 2024
1 parent defa879 commit 506e872
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/stash_api/dataset_parser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def send_submit_invitation_email(metadata)
def resource_uniq?
return true if @id

query = StashEngine::Resource.joins(:user).where(
query = StashEngine::Resource.joins(:users).where(
stash_engine_resources: { title: @hash[:title] },
stash_engine_users: { orcid: @user.orcid }
)
Expand Down

0 comments on commit 506e872

Please sign in to comment.