Skip to content

Commit

Permalink
Update client.go
Browse files Browse the repository at this point in the history
Co-authored-by: James Tait <[email protected]>
  • Loading branch information
pansbro12 and Jarota authored Nov 6, 2024
1 parent a8c9229 commit 47f5cad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func (c *Castle) Filter(ctx context.Context, req *Request) (RecommendedAction, e
Username: req.User.Name,
}
createdAt := req.CreatedAt
if req.CreatedAt.IsZero() {
if createdAt.IsZero() {
createdAt = time.Now()
}
r := &castleFilterAPIRequest{
Expand Down

0 comments on commit 47f5cad

Please sign in to comment.