itd/api/update.go

13 lines
198 B
Go
Raw Normal View History

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