copilot changes

This commit is contained in:
adlerhurst
2025-07-29 18:10:35 +02:00
parent b4cee886fc
commit fc3e5cf3e3
3 changed files with 4 additions and 4 deletions

View File

@@ -86,7 +86,7 @@ func (opt *orgByIDQueryOpt) applyOnOrgsQuery(query *OrgsQuery) {
query.conditions = append(query.conditions, query.repo.IDCondition(opt.id))
}
var _ OrgsQueryOpts = (*orgByIDQueryOpt)(nil)
var _ OrgsQueryOpts = (*orgByStateQueryOpt)(nil)
type orgByStateQueryOpt struct {
state OrgState
@@ -102,7 +102,7 @@ func (opt *orgByStateQueryOpt) applyOnOrgsQuery(query *OrgsQuery) {
query.conditions = append(query.conditions, query.repo.StateCondition(opt.state))
}
var _ OrgsQueryOpts = (*orgByIDQueryOpt)(nil)
var _ OrgsQueryOpts = (*orgQuerySortingColumnOpt)(nil)
type orgQuerySortingColumnOpt struct {
getColumn func(query *OrgsQuery) database.Column