feat(transaction): #243 fix golangci-lint
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 6m5s
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 6m5s
This commit is contained in:
@@ -15,7 +15,6 @@ import (
|
||||
type migrationLogger struct{}
|
||||
|
||||
func (l migrationLogger) Printf(format string, v ...any) {
|
||||
//nolint:noctx
|
||||
slog.Info(format, v...)
|
||||
}
|
||||
func (l migrationLogger) Verbose() bool {
|
||||
|
||||
@@ -245,7 +245,7 @@ func (s TransactionImpl) GetAll(ctx context.Context, user *types.User, filter ty
|
||||
offset = 0
|
||||
} else {
|
||||
offset = page - 1
|
||||
offset = offset * page_size
|
||||
offset *= page_size
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user