Skip to content

Commit

Permalink
Update record method for filling in missing data docs (#4249)
Browse files Browse the repository at this point in the history
Summary:
To reflect changes introduced in 6092ddb

Pull Request resolved: #4249

Reviewed By: alunyov

Differential Revision: D44136434

Pulled By: rbalicki2

fbshipit-source-id: 226062f0b0d854f72b8b4ff700fc5dea8cb90aac
  • Loading branch information
levibuzolic authored and facebook-github-bot committed Mar 20, 2023
1 parent e1ab977 commit 6ed8289
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const missingFieldHandlers = [
handle(field, record, argValues): ?string {
if (
record != null &&
record.__typename === ROOT_TYPE &&
record.getType() === ROOT_TYPE &&
field.name === 'user' &&
argValues.hasOwnProperty('id')
) {
Expand All @@ -63,7 +63,7 @@ const missingFieldHandlers = [
}
if (
record != null &&
record.__typename === ROOT_TYPE &&
record.getType() === ROOT_TYPE &&
field.name === 'story' &&
argValues.hasOwnProperty('story_id')
) {
Expand Down

0 comments on commit 6ed8289

Please sign in to comment.