-
diff --git a/ts/rmo/view/Compliance.vue b/ts/rmo/view/Compliance.vue
index fbfcebf0..b4d5f6da 100644
--- a/ts/rmo/view/Compliance.vue
+++ b/ts/rmo/view/Compliance.vue
@@ -134,7 +134,14 @@ function doPermission() {
console.log("can't do permission, null report");
return;
}
- console.log("permission", report.value);
+ console.log("report.value.has_dog", report.value.has_dog);
+ updateReport({
+ access: report.value.access,
+ access_instructions: report.value.access_instructions,
+ gate_code: report.value.gate_code,
+ has_dog: report.value.has_dog,
+ wants_scheduled: report.value.wants_scheduled,
+ });
}
async function fetchExistingReport(report_uri: string) {
isLoading.value = true;
diff --git a/ts/type/api.ts b/ts/type/api.ts
index ee887869..be763bf4 100644
--- a/ts/type/api.ts
+++ b/ts/type/api.ts
@@ -134,14 +134,19 @@ export interface Image {
uuid: string;
}
export interface ComplianceUpdate {
+ access?: string;
+ access_instructions?: string;
address?: Address;
comments?: string;
contact?: Contact;
+ gate_code?: string;
+ has_dog?: boolean;
//id: string;
//images?: Image[];
location?: Location;
permission?: Permissions;
//uri: string;
+ wants_scheduled?: boolean;
}
export interface PublicReportDTO {
address: Address;