Skip to content

Commit b01f197

Browse files
authored
Merge pull request #384 from prezly/feature/omit-policies-property-from-newsrooms-list-api
[DEV-20916] Omit policies property from newsrooms list API
2 parents 9f7eafd + 64fcaee commit b01f197

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/endpoints/Newsrooms/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export interface SearchOptions extends ListOptions {
2020
}
2121

2222
export interface ListResponse {
23-
newsrooms: Newsroom[];
23+
newsrooms: Omit<Newsroom, 'policies'>[];
2424
pagination: Pagination;
2525
sort: string;
2626
}

0 commit comments

Comments
 (0)