2022-04-23 00:12:30 +00:00
|
|
|
package api
|
|
|
|
|
2023-01-03 06:30:17 +00:00
|
|
|
import (
|
|
|
|
"context"
|
|
|
|
|
|
|
|
"go.arsenm.dev/itd/internal/rpc"
|
|
|
|
)
|
2022-05-01 22:22:28 +00:00
|
|
|
|
|
|
|
func (c *Client) WeatherUpdate(ctx context.Context) error {
|
2023-01-03 06:30:17 +00:00
|
|
|
_, err := c.client.WeatherUpdate(ctx, &rpc.Empty{})
|
|
|
|
return err
|
2022-05-01 18:36:28 +00:00
|
|
|
}
|