Connector column does not call cloud function properly #1357
-
Beta Was this translation helpful? Give feedback.
Answered by
pierpo
Aug 9, 2023
Replies: 1 comment 2 replies
-
Hey @pierpo, we previously had an update that requires some modifications in the scripts. Try using the following instead: const connector: Connector = async ({ query, row, user, logging }) => {
logging.log("connector started");
const items = [
{
id:"a",
word:"apple",
emoji:"🍎"
},
{
id:"b",
word:"banana",
emoji:"🍌"
},
{
id:"c",
word:"cherry",
emoji:"🍒"
},
{
id:"d",
word:"duck",
emoji:"🦆"
},
{
id:"e",
word:"eggplant",
emoji:"🍆"
},
];
return items.filter(i=> i.word.toLowerCase().startsWith(query.toLowerCase()))
};
export default connector; Check the connector configuration in the screenshot below: You can also update your outdated Rowy Run version to keep up with the new updates and fixes. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
OK, it turns out that our rowy run was still outdated. We saw that the last deploy on GCP was quite old, so we ran the commands to manually setup Rowy Run.
From the docs: