updsate
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
export type PrivacyPolicy<T> = {
|
||||
success: boolean;
|
||||
message: string;
|
||||
data: T;
|
||||
};
|
||||
|
||||
export interface PrivacyPolicyContent {
|
||||
id: number;
|
||||
language_master_xid: number;
|
||||
content: string;
|
||||
is_active: boolean;
|
||||
}
|
||||
|
||||
export type PrivacyPolicyResponse = PrivacyPolicy<PrivacyPolicyContent[]>; // Fix here
|
||||
export interface PrivacyPolicyResponse {
|
||||
status: "success" | "error"; // Assuming it can be "success" or "error"
|
||||
status_code: number;
|
||||
message: string;
|
||||
data: PrivacyPolicyContent[];
|
||||
}
|
||||
Reference in New Issue
Block a user