Skip to content

Commit

Permalink
fix has_many_attached typo in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sheff3rd committed Aug 14, 2023
1 parent 83c2f79 commit 5de53f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ class UserType < GraphQL::Schema::Object

def photos
dataloader
.with(GraphQL::Sources::ActiveStorageHasOneAttached, :photos)
.with(GraphQL::Sources::ActiveStorageHasManyAttached, :photos)
.load(object)
end
end
Expand Down

0 comments on commit 5de53f0

Please sign in to comment.