doc: fix edge.Annotations method name typo (#3618)

This commit is contained in:
Mizuki Hashimoto
2023-06-27 06:56:04 +02:00
committed by GitHub
parent f0a81e2640
commit c151e305ca
3 changed files with 3 additions and 3 deletions

View File

@@ -253,7 +253,7 @@ func (Fridge) Edges() []ent.Edge {
return []ent.Edge{
edge.To("compartments", Compartment.Type).
// Do not generate an endpoint for POST /fridges/{id}/compartments
Annotation(
Annotations(
entoas.CreateOperation(
entoas.OperationPolicy(entoas.PolicyExclude),
),