Skip to content

Commit

Permalink
Release 0.0.17
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-api[bot] committed Jul 4, 2023
1 parent ec630ca commit 7318b05
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion attempts_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ func (a *attemptsClient) GetAttempt(ctx context.Context, id string) (*EventAttem
return apiError
}

var response EventAttempt
response := new(EventAttempt)
if err := core.DoRequest(
ctx,
a.httpClient,
Expand Down
12 changes: 6 additions & 6 deletions rulesets_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ func (r *rulesetsClient) CreateRuleset(ctx context.Context, request *CreateRules
return apiError
}

var response Ruleset
response := new(Ruleset)
if err := core.DoRequest(
ctx,
r.httpClient,
Expand Down Expand Up @@ -214,7 +214,7 @@ func (r *rulesetsClient) UpsertRuleset(ctx context.Context, request *UpsertRules
return apiError
}

var response Ruleset
response := new(Ruleset)
if err := core.DoRequest(
ctx,
r.httpClient,
Expand Down Expand Up @@ -256,7 +256,7 @@ func (r *rulesetsClient) GetRuleset(ctx context.Context, id string) (*Ruleset, e
return apiError
}

var response Ruleset
response := new(Ruleset)
if err := core.DoRequest(
ctx,
r.httpClient,
Expand Down Expand Up @@ -312,7 +312,7 @@ func (r *rulesetsClient) UpdateRuleset(ctx context.Context, id string, request *
return apiError
}

var response Ruleset
response := new(Ruleset)
if err := core.DoRequest(
ctx,
r.httpClient,
Expand Down Expand Up @@ -354,7 +354,7 @@ func (r *rulesetsClient) ArchiveRuleset(ctx context.Context, id string) (*Rulese
return apiError
}

var response Ruleset
response := new(Ruleset)
if err := core.DoRequest(
ctx,
r.httpClient,
Expand Down Expand Up @@ -396,7 +396,7 @@ func (r *rulesetsClient) UnarchiveRuleset(ctx context.Context, id string) (*Rule
return apiError
}

var response Ruleset
response := new(Ruleset)
if err := core.DoRequest(
ctx,
r.httpClient,
Expand Down

0 comments on commit 7318b05

Please sign in to comment.