Skip to content

Commit

Permalink
fix: switched vars but forgot to switch the check (#79)
Browse files Browse the repository at this point in the history
Signed-off-by: Sarah Funkhouser <[email protected]>
  • Loading branch information
golanglemonade authored Jan 18, 2025
1 parent b96ad4e commit 6a104bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mixin/idmixin.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func (i IDMixin) Fields() []ent.Field {
),
}

if !i.IncludeMappingID {
if i.IncludeMappingID {
fields = append(fields,
field.String("mapping_id").
Immutable().
Expand Down

0 comments on commit 6a104bf

Please sign in to comment.