Skip to content

Commit 72633a9

Browse files
authored
Merge pull request #412 from ErikKalkoken/fix-corporation-fk-issue
fix: FK error when trying to create eve corporation with new alliance
2 parents de50a17 + 7ada2e0 commit 72633a9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

FyneApp.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Website = "https://github.com/ErikKalkoken/evebuddy"
44
Icon = "icon.png"
55
Name = "EVE Buddy"
66
ID = "io.github.erikkalkoken.evebuddy"
7-
Version = "0.62.0"
7+
Version = "0.62.1"
88
Build = 0
99

1010
[Release]

internal/app/eveuniverseservice/organization.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ func (s *EveUniverseService) UpdateOrCreateCorporationFromESI(ctx context.Contex
140140
homeStationID := optional.FromPtr(r.HomeStationId)
141141

142142
ids := set.Of(corporationID)
143-
for _, o := range []optional.Optional[int64]{ceoID, creatorID, factionID, homeStationID} {
143+
for _, o := range []optional.Optional[int64]{allianceID, ceoID, creatorID, factionID, homeStationID} {
144144
if v, ok := o.Value(); ok {
145145
ids.Add(v)
146146
}

0 commit comments

Comments
 (0)