1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-06-27 16:36:00 +00:00

feat(api): rename integrations status endpoint

This commit is contained in:
Frédéric Guillot 2024-10-17 21:04:35 -07:00
parent 0adbcc3a04
commit 3b654fefa7
3 changed files with 5 additions and 5 deletions

View file

@ -185,9 +185,9 @@ func (c *Client) MarkAllAsRead(userID int64) error {
return err
}
// FetchIntegrationsStatus fetches the integrations status for a user.
func (c *Client) FetchIntegrationsStatus() (bool, error) {
body, err := c.request.Get("/v1/users/integrations/status")
// IntegrationsStatus fetches the integrations status for the logged user.
func (c *Client) IntegrationsStatus() (bool, error) {
body, err := c.request.Get("/v1/integrations/status")
if err != nil {
return false, err
}