File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
actions/get-record-or-create Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ export default {
44 key : "data_stores-get-record-or-create" ,
55 name : "Get record (or create one if not found)" ,
66 description : "Get a single record in your [Pipedream Data Store](https://pipedream.com/data-stores/) or create one if it doesn't exist." ,
7- version : "0.0.12 " ,
7+ version : "0.0.13 " ,
88 type : "action" ,
99 props : {
1010 app,
@@ -68,15 +68,15 @@ export default {
6868 summary = `Successfully added a new record with the key, \`${ this . key } \`.` ;
6969 }
7070
71+ response = parsedValue ;
72+
7173 // Include TTL information in the return value if it was set
7274 if ( this . ttl ) {
73- return {
75+ response = {
7476 value : parsedValue ,
7577 ttl : this . ttl ,
7678 } ;
7779 }
78-
79- response = parsedValue ;
8080 }
8181
8282 $ . export ( "$summary" , summary ) ;
Original file line number Diff line number Diff line change 11{
22 "name" : " @pipedream/data_stores" ,
3- "version" : " 0.1.7 " ,
3+ "version" : " 0.1.8 " ,
44 "description" : " Pipedream Data Stores Components" ,
55 "main" : " data_stores.app.js" ,
66 "keywords" : [
You can’t perform that action at this time.
0 commit comments