Skip to content

Commit

Permalink
convert events to handle AuthRelationshipRequest
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Mason <[email protected]>
  • Loading branch information
mikemrm committed Aug 7, 2023
1 parent 27de674 commit ff5632c
Show file tree
Hide file tree
Showing 7 changed files with 317 additions and 208 deletions.
2 changes: 1 addition & 1 deletion internal/api/relationships.go
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ func (r *Router) relationshipDelete(c echo.Context) error {
Subject: relatedResource,
}

_, err = r.engine.DeleteRelationship(ctx, relationship)
_, err = r.engine.DeleteRelationships(ctx, relationship)
if err != nil {
return echo.NewHTTPError(http.StatusInternalServerError, "error deleting relationship").SetInternal(err)
}
Expand Down
Loading

0 comments on commit ff5632c

Please sign in to comment.