Skip to content

Commit 2feb0e2

Browse files
committed
Adjusting options in 'search CRM'
1 parent 8290509 commit 2feb0e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/hubspot/actions/search-crm/search-crm.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export default {
5050
props.customObjectType = {
5151
type: "string",
5252
label: "Custom Object Type",
53-
options: await this.getCustomObjectTypes(),
53+
options: async () => await this.getCustomObjectTypes(),
5454
reloadProps: true,
5555
};
5656
} catch {
@@ -185,7 +185,7 @@ export default {
185185
}
186186
},
187187
async getCustomObjectTypes() {
188-
const { results } = await this.listSchemas();
188+
const { results } = await this.hubspot.listSchemas();
189189
return results?.map(({
190190
fullyQualifiedName: value, labels,
191191
}) => ({

0 commit comments

Comments
 (0)