still database stuff, fix 3
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful

This commit is contained in:
2024-01-13 18:56:26 +01:00
parent 2de32a6ce8
commit 5546c208de

View File

@ -37,7 +37,7 @@ func (self *DatabaseHandle) GetPersonById(id string) (string, error) {
var person Person var person Person
result := self.dbh. result := self.dbh.
Where("persons.id = ?", id). Where("id = ?", id).
First(&person) First(&person)
if result.Error != nil { if result.Error != nil {