Only option

This commit is contained in:
Eden Kirin
2024-06-24 01:08:39 +02:00
parent 295e915f89
commit bd510d958b
5 changed files with 147 additions and 82 deletions

View File

@ -72,7 +72,7 @@ func doList(db *gorm.DB) {
Alive: &TRUE,
}
certs, err := repo.List(filter, nil, nil)
certs, err := repo.List(filter, nil)
if err != nil {
panic(err)
}
@ -92,7 +92,7 @@ func doGet(db *gorm.DB) {
Id: &id,
}
cert, err := repo.Get(filter)
cert, err := repo.Get(filter, nil)
if err != nil {
panic(err)
}