Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default {
key: "data_stores-get-record-or-create",
name: "Get record (or create one if not found)",
description: "Get a single record in your [Pipedream Data Store](https://pipedream.com/data-stores/) or create one if it doesn't exist.",
version: "0.0.12",
version: "0.0.13",
type: "action",
props: {
app,
Expand Down Expand Up @@ -68,15 +68,15 @@ export default {
summary = `Successfully added a new record with the key, \`${this.key}\`.`;
}

response = parsedValue;

// Include TTL information in the return value if it was set
if (this.ttl) {
return {
response = {
value: parsedValue,
ttl: this.ttl,
};
}

response = parsedValue;
}

$.export("$summary", summary);
Expand Down
2 changes: 1 addition & 1 deletion components/data_stores/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pipedream/data_stores",
"version": "0.1.7",
"version": "0.1.8",
"description": "Pipedream Data Stores Components",
"main": "data_stores.app.js",
"keywords": [
Expand Down
Loading