still database stuff, fix 3
This commit is contained in:
@ -37,7 +37,7 @@ func (self *DatabaseHandle) GetPersonById(id string) (string, error) {
|
||||
|
||||
var person Person
|
||||
result := self.dbh.
|
||||
Where("persons.id = ?", id).
|
||||
Where("id = ?", id).
|
||||
First(&person)
|
||||
|
||||
if result.Error != nil {
|
||||
|
Reference in New Issue
Block a user