Skip to content

Commit ac78af4

Browse files
committed
ESLint run
1 parent f0894d3 commit ac78af4

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

components/google_my_business/actions/create-post/create-post.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,8 @@ export default defineAction({
9595
? JSON.parse(obj)
9696
: obj;
9797
} catch (err) {
98-
throw new ConfigurationError(`**Invalid JSON string** for object prop: "${obj}"`);
98+
throw new ConfigurationError(`**Invalid JSON string** for object prop: "${obj}"
99+
Error: ${err}`);
99100
}
100101
},
101102
},

components/google_my_business/actions/get-reviews-multiple-locations/get-reviews-multiple-locations.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export default defineAction({
4646
optional: true,
4747
options: [
4848
"createTime desc",
49-
"createTime asc",
49+
"createTime asc",
5050
"updateTime desc",
5151
"updateTime asc",
5252
],

components/google_my_business/common/requestParams.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,4 @@ export interface BatchGetReviewsParams extends PdAxiosRequest {
6464
orderBy?: string;
6565
ignoreRatingOnlyReviews?: boolean;
6666
};
67-
}
67+
}

components/google_my_business/sources/new-review-created-multiple-locations/new-review-created-multiple-locations.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import { defineSource } from "@pipedream/types";
22
import { BatchGetReviewsParams } from "../../common/requestParams";
3-
import { BatchGetReviewsResponse, Review } from "../../common/responseSchemas";
3+
import {
4+
BatchGetReviewsResponse, Review,
5+
} from "../../common/responseSchemas";
46
import app from "../../app/google_my_business.app";
57
import common from "../common";
68

0 commit comments

Comments
 (0)