Skip to content

Commit

Permalink
change type for time
Browse files Browse the repository at this point in the history
  • Loading branch information
anthony-gomez-fastly committed Feb 21, 2025
1 parent 12c8358 commit d050170
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion fastly/objectstorage/accesskeys/api_response.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package accesskeys

import "time"

// AccessKey is the API response structure for the create and describe operations.
type AccessKey struct {
// AccessKey is an AccessKey identifier.
Expand All @@ -13,7 +15,7 @@ type AccessKey struct {
// Buckets is the list of buckets associated with the access key.
Buckets []string `json:"buckets"`
// CreatedAt is the timestamp associated with the creation of the access key.
CreatedAt string `json:"created_at"`
CreatedAt time.Time `json:"created_at"`
}

// AccessKeys is the API response structure for the list access keys operation.
Expand Down

0 comments on commit d050170

Please sign in to comment.