More webapp changes+fixes
This commit is contained in:
@@ -23,6 +23,7 @@ export interface MessageListParams {
|
||||
search?: string;
|
||||
sender?: string[];
|
||||
subscription_status?: 'all' | 'confirmed' | 'unconfirmed';
|
||||
used_key?: string;
|
||||
trimmed?: boolean;
|
||||
page_size?: number;
|
||||
next_page_token?: string;
|
||||
|
||||
@@ -153,6 +153,7 @@ export class ApiService {
|
||||
}
|
||||
}
|
||||
if (params.subscription_status) httpParams = httpParams.set('subscription_status', params.subscription_status);
|
||||
if (params.used_key) httpParams = httpParams.set('used_key', params.used_key);
|
||||
if (params.trimmed !== undefined) httpParams = httpParams.set('trimmed', params.trimmed);
|
||||
if (params.page_size) httpParams = httpParams.set('page_size', params.page_size);
|
||||
if (params.next_page_token) httpParams = httpParams.set('next_page_token', params.next_page_token);
|
||||
|
||||
Reference in New Issue
Block a user