Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
totegamma committed Jun 9, 2024
1 parent 9275bdf commit eb1d4f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/subscription/repository.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ func (r *repository) CreateSubscription(ctx context.Context, subscription core.S
return subscription, err
}

err = r.db.WithContext(ctx).Create(&subscription).Error
err = r.db.WithContext(ctx).Save(&subscription).Error
if err != nil {
return subscription, err
}
Expand Down

0 comments on commit eb1d4f3

Please sign in to comment.