Skip to content

Commit e549df1

Browse files
committed
fix(controller): call correct service method
1 parent 6759b70 commit e549df1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/JsonApiDotNetCore/Controllers/JsonApiController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public virtual async Task<IActionResult> GetAsync(TId id)
6464
[HttpGet("{id}/relationships/{relationshipName}")]
6565
public virtual async Task<IActionResult> GetRelationshipsAsync(TId id, string relationshipName)
6666
{
67-
var relationship = _resourceService.GetRelationshipAsync(id, relationshipName);
67+
var relationship = _resourceService.GetRelationshipsAsync(id, relationshipName);
6868
if(relationship == null)
6969
return NotFound();
7070

0 commit comments

Comments
 (0)