feat(list/rdr): add redirector domain to output
This commit is contained in:
parent
1c594ee38a
commit
fa3e4665d0
1 changed files with 2 additions and 0 deletions
|
@ -10,6 +10,7 @@ class RedirectorPool(BaseModel):
|
||||||
short_name: str
|
short_name: str
|
||||||
description: str
|
description: str
|
||||||
api_key: str
|
api_key: str
|
||||||
|
redirector_domain: Optional[str]
|
||||||
origins: Dict[str, str]
|
origins: Dict[str, str]
|
||||||
|
|
||||||
|
|
||||||
|
@ -36,6 +37,7 @@ def redirector_pool(pool: Pool) -> RedirectorPool:
|
||||||
short_name=pool.pool_name,
|
short_name=pool.pool_name,
|
||||||
description=pool.description,
|
description=pool.description,
|
||||||
api_key=pool.api_key,
|
api_key=pool.api_key,
|
||||||
|
redirector_domain=pool.redirector_domain,
|
||||||
origins=redirector_pool_origins(pool)
|
origins=redirector_pool_origins(pool)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue