Merge pull request #8634 from bluesky-social/jc/aaip

Detect Age Restricted Geos
This commit is contained in:
Jim Calabro
2025-07-10 19:53:57 -04:00
committed by GitHub
+2 -1
View File
@@ -603,7 +603,8 @@ type IPCCRequest struct {
IP string `json:"ip"` IP string `json:"ip"`
} }
type IPCCResponse struct { type IPCCResponse struct {
CC string `json:"countryCode"` CC string `json:"countryCode"`
AgeRestrictedGeo string `json:"isAgeRestrictedGeo"`
} }
func (srv *Server) WebIpCC(c echo.Context) error { func (srv *Server) WebIpCC(c echo.Context) error {