Skip to content

Commit

Permalink
fix: readme require section of cds snippet
Browse files Browse the repository at this point in the history
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

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Error</title>
</head>
<body>
<pre>Cannot PATCH /admin/Customers(8e2f2640-6866-4dcf-8f4d-3027aa831cad)</pre>
</body>
</html>
```
  • Loading branch information
patricebender committed Jun 19, 2024
1 parent 1862b21 commit 39ae1ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 39ae1ec

Please sign in to comment.