I am wanting to save one simple string in firebase database from using firebase functions. I have this working and saving the string "THIS NEW CODE". What is simplest way to retrieve this string?
const admin = require('firebase-admin');
admin.initializeApp(functions.config().firebase);
var ref = admin.database().ref("key").set("THIS NEW CODE");