refactor: remove unneeded date formatting

Signed-off-by: SoXX <soxx@fenpa.ws>
This commit is contained in:
SoXX 2023-11-15 15:25:49 +01:00
parent a916da8f15
commit 585c94b97a

View File

@ -267,10 +267,7 @@ func (c *Client) GetLatestPoolsDBExportDataAsBytes() (string, []byte, error) {
return "", nil, err return "", nil, err
} }
currentDate, err := time.Parse("2006-04-02", time.Now().Format("2006-01-02")) currentDate := time.Now()
if err != nil {
return "", nil, err
}
duration := math.MaxFloat64 duration := math.MaxFloat64
var fileName string var fileName string