PostgreSQL reengineered for multi-tenant apps
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
nile_database: {
type: "app",
app: "nile_database",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://global.thenile.dev/developers/me/full`,
headers: {
Authorization: `Bearer ${this.nile_database.$auth.oauth_access_token}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})