Skip to content
This repository was archived by the owner on Jun 9, 2026. It is now read-only.

Commit e644c40

Browse files
authored
Merge pull request #406 from prezly/feature/newsroom-redirect-to-canonical-url
Add `redirect_to_canonical_url` field to Newsroom
2 parents 4f4ec0c + 3ac381d commit e644c40

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

src/endpoints/Newsrooms/types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ export interface UpdateRequest {
148148

149149
is_plausible_enabled?: boolean;
150150
is_white_labeled?: boolean;
151+
redirect_to_canonical_url?: boolean;
151152

152153
onetrust_cookie_consent?: {
153154
is_enabled?: boolean;

src/types/Newsroom.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ export interface Newsroom extends NewsroomRef {
124124
is_subscription_form_enabled: boolean;
125125
auto_create_contacts_from_subscribers: boolean;
126126
is_white_labeled: boolean;
127+
redirect_to_canonical_url: boolean;
127128

128129
is_plausible_enabled: boolean;
129130
plausible_site_id: string;

0 commit comments

Comments
 (0)