From 864deff168b5852c5200d1beb32ebb97b47031bb Mon Sep 17 00:00:00 2001 From: Shubham Shah Date: Wed, 22 Mar 2023 15:41:01 +1000 Subject: [PATCH] fix(json): fix invalid field name json mapping for workers subdomain --- workers_subdomain.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workers_subdomain.go b/workers_subdomain.go index f67e7ad02c6..0eaed8453c6 100644 --- a/workers_subdomain.go +++ b/workers_subdomain.go @@ -8,7 +8,7 @@ import ( ) type WorkersSubdomain struct { - Name string `json:"name,omitempty"` + Name string `json:"subdomain,omitempty"` } type WorkersSubdomainResponse struct {