Skip to content

Commit

Permalink
fix(server): fix panics in tiles
Browse files Browse the repository at this point in the history
  • Loading branch information
rot1024 committed Oct 16, 2024
1 parent c9e751f commit 7d6cb2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/tiles/cms.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func initTiles(ctx context.Context, pcms *plateaucms.CMS) (map[string]map[string

func getTiles(ctx context.Context, c cms.Interface, prj string) (map[string]map[string]string, error) {
items, err := c.GetItemsByKeyInParallel(ctx, prj, modelKey, true, 0)
if err != nil {
if err != nil || items == nil {
return nil, nil
}

Expand Down

0 comments on commit 7d6cb2c

Please sign in to comment.