2 Commits
0.0.3 ... 0.0.5

Author SHA1 Message Date
5546c208de still database stuff, fix 3
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful
2024-01-13 18:56:26 +01:00
2de32a6ce8 still database stuff, fix 2
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful
2024-01-13 18:52:47 +01:00
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ spec:
spec: spec:
containers: containers:
- name: locsrv - name: locsrv
image: gitea.hottis.de/wn/locsrv:%IMAGETAG% image: %IMAGE%
envFrom: envFrom:
- secretRef: - secretRef:
name: locsrv-db-cred name: locsrv-db-cred

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 {