Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
alaingilbert committed Sep 27, 2022
1 parent a5fcfe7 commit 05af5ea
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions pkg/parser/fullPage.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,6 @@ func (p FullPage) ExtractLifeformEnabled() bool {
return p.e.ExtractLifeformEnabled(p.GetContent())
}

func (p FullPage) ExtractLfBuildings() (ogame.LfBuildings, error) {
return p.e.ExtractLfBuildings(p.GetContent())
}

func (p FullPage) ExtractServerTime() (time.Time, error) {
return p.e.ExtractServerTimeFromDoc(p.GetDoc())
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/parser/lfbuildingsPage.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ package parser

import "github.com/alaingilbert/ogame/pkg/ogame"

func (p SuppliesPage) ExtractLfBuildings() (ogame.LfBuildings, error) {
func (p LfBuildingsPage) ExtractLfBuildings() (ogame.LfBuildings, error) {
return p.e.ExtractLfBuildingsFromDoc(p.GetDoc())
}

0 comments on commit 05af5ea

Please sign in to comment.