Skip to content

Commit 3e9144d

Browse files
authored
Merge pull request #27 from graphiti-api/remote_resource_fix
Fix full remote resource testing example
2 parents 015f612 + 231054f commit 3e9144d

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

guides/concepts/remote-resources.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -307,9 +307,11 @@ describe 'sideloading' do
307307

308308
let(:api_response) do
309309
{
310-
id: '789',
311-
type: 'comments',
312-
attributes: { body: 'hello' }
310+
data: [{
311+
id: '789',
312+
type: 'comments',
313+
attributes: { body: 'hello' }
314+
}]
313315
}
314316
end
315317

0 commit comments

Comments
 (0)