refactor: update error handling for HTTP response status codes
All checks were successful
🚀 Publish Release Package / publish (push) Successful in 20s

This commit is contained in:
2025-06-25 16:52:17 -04:00
parent fa5f837c40
commit f5eafa8b52

View File

@@ -9,8 +9,9 @@ import (
)
type EmailCreateResponse struct {
Id string `json:"id"`
CreatedAt time.Time `json:"created_at"`
Id string `json:"id"`
CreatedAt time.Time `json:"created_at"`
LimitRemaining int `json:"limit_remaining,omitempty"`
}
type ErrorResponse struct {