refactor: remove unneeded date formatting
Signed-off-by: SoXX <soxx@fenpa.ws>
This commit is contained in:
parent
a916da8f15
commit
585c94b97a
@ -267,10 +267,7 @@ func (c *Client) GetLatestPoolsDBExportDataAsBytes() (string, []byte, error) {
|
||||
return "", nil, err
|
||||
}
|
||||
|
||||
currentDate, err := time.Parse("2006-04-02", time.Now().Format("2006-01-02"))
|
||||
if err != nil {
|
||||
return "", nil, err
|
||||
}
|
||||
currentDate := time.Now()
|
||||
|
||||
duration := math.MaxFloat64
|
||||
var fileName string
|
||||
|
Reference in New Issue
Block a user