Skip to content

Commit

Permalink
chore: remove snippet leading whitespace (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
chingor13 authored Mar 19, 2020
1 parent e0562a6 commit 361b911
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions packages/google-cloud-phishingprotection/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,21 +55,21 @@ npm install @google-cloud/phishing-protection
### Using the client library

```javascript
const {
PhishingProtectionServiceV1Beta1Client,
} = require('@google-cloud/phishing-protection');
const client = new PhishingProtectionServiceV1Beta1Client();
const {
PhishingProtectionServiceV1Beta1Client,
} = require('@google-cloud/phishing-protection');
const client = new PhishingProtectionServiceV1Beta1Client();

// the numeric project ID.
const formattedParent = client.projectPath(projectId);
const request = {
parent: formattedParent,
uri: uri, // the URI to report to Phishing API.
};
// the numeric project ID.
const formattedParent = client.projectPath(projectId);
const request = {
parent: formattedParent,
uri: uri, // the URI to report to Phishing API.
};

await client.reportPhishing(request);
await client.reportPhishing(request);

console.info(`reported ${uri} to Phishing Protection API`);
console.info(`reported ${uri} to Phishing Protection API`);

```

Expand Down

0 comments on commit 361b911

Please sign in to comment.