i am already setup firebase and flamelink how i get data to manipulate from global i try this but it not work:
var obj ={}
app.content.get({schemaKey: 'berita'})
.then((data) => {
obj = data
console.log("data" , data)
console.log("object" , obj)
})
console.log("outsite", obj)

app.content.get()returns a Promise, so yourconsole.log('outsite, obj)line runs before the query Promise is resolved.You either need to work with the response data inside your
thenmethod or useasync-awaitlike this (from inside anasyncfunction):