mirror of
https://github.com/ent/ent.git
synced 2026-05-24 09:31:56 +03:00
doc: fix edge.Annotations method name typo (#3618)
This commit is contained in:
@@ -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),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user