feat: notifications

This commit is contained in:
Dawid Wysokiński 2022-10-26 07:07:09 +02:00
parent d275346953
commit 364ab354f9
Signed by: Kichiyaki
GPG Key ID: B5445E357FB8B892

View File

@ -85,11 +85,7 @@ type ListEnnoblementsQueryParams struct {
Since time.Time Since time.Time
} }
func (c *Client) ListEnnoblements( func (c *Client) ListEnnoblements(ctx context.Context, version, server string, queryParams ListEnnoblementsQueryParams) ([]Ennoblement, error) {
ctx context.Context,
version, server string,
queryParams ListEnnoblementsQueryParams,
) ([]Ennoblement, error) {
q := url.Values{} q := url.Values{}
if queryParams.Limit >= 0 { if queryParams.Limit >= 0 {