From 39ae1ec5b5e95622f87a01def5e0f35fba53b751 Mon Sep 17 00:00:00 2001 From: Patrice Bender Date: Wed, 19 Jun 2024 12:17:42 +0200 Subject: [PATCH] fix: readme require section of cds snippet moreover, the example odata request does not work ```http HTTP/1.1 404 Not Found X-Powered-By: Express Content-Security-Policy: default-src 'none' X-Content-Type-Options: nosniff Content-Type: text/html; charset=utf-8 Content-Length: 194 Date: Wed, 19 Jun 2024 10:17:27 GMT Connection: close Error
Cannot PATCH /admin/Customers(8e2f2640-6866-4dcf-8f4d-3027aa831cad)
``` --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7c86f66..7a10556 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ npm add @cap-js/audit-logging Identify entities and elements (potentially) holding personal data using `@PersonalData` annotations. Create a `db/data-privacy.cds` file and add the following: ```cds -using { sap.capire.incidents as my } from '../db/extensions'; +using { sap.capire.incidents as my } from './schema'; annotate my.Customers with @PersonalData : { DataSubjectRole : 'Customer',