Skip to content

Commit

Permalink
update verify-client-id
Browse files Browse the repository at this point in the history
  • Loading branch information
michelle0927 committed Sep 16, 2024
1 parent 3d6759a commit 2f3f255
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion components/gmail/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pipedream/gmail",
"version": "0.1.4",
"version": "0.1.5",
"description": "Pipedream Gmail Components",
"main": "gmail.app.mjs",
"keywords": [
Expand Down
4 changes: 1 addition & 3 deletions components/gmail/sources/common/verify-client-id.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ import { PD_OFFICIAL_GMAIL_OAUTH_CLIENT_ID } from "@pipedream/platform";
export default {
methods: {
async checkClientId() {
return (
this.gmail.$auth.oauth_client_id !== PD_OFFICIAL_GMAIL_OAUTH_CLIENT_ID
);
return !this.gmail.$auth.oauth_client_id.includes(PD_OFFICIAL_GMAIL_OAUTH_CLIENT_ID);
},
},
};
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default {
name: "New Email Received",
description: "Emit new event when a new email is received.",
type: "source",
version: "0.1.1",
version: "0.1.2",
dedupe: "unique",
props: {
gmail,
Expand Down

0 comments on commit 2f3f255

Please sign in to comment.