Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
5546c208de
|
|||
2de32a6ce8
|
@ -17,7 +17,7 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: locsrv
|
||||
image: gitea.hottis.de/wn/locsrv:%IMAGETAG%
|
||||
image: %IMAGE%
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: locsrv-db-cred
|
||||
|
@ -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