Fix station preferences mapping

This commit is contained in:
Conor McNamara
2023-03-16 10:30:04 +00:00
parent f3ea627bab
commit b4733d07e8
5 changed files with 48 additions and 74 deletions

View File

@ -56,15 +56,6 @@ export default {
created() {
this.user = auth.currentUser
const functions = getFunctions(app)
let host = window.location.hostname
if (host === '127.0.0.1' || host === 'localhost') {
connectFunctionsEmulator(functions, host, 5001);
}
const secureFunction = httpsCallable(functions, 'securefunction')
secureFunction().then((response) => {
console.log(response);
})
},
methods: {