Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
5546c208de
|
@ -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