fix: save request crashing on teams

This commit is contained in:
Andrew Bastin
2021-09-18 15:11:54 +05:30
parent 09365bcabe
commit 4236d1179c
2 changed files with 8 additions and 7 deletions

View File

@@ -43,8 +43,6 @@ async function writeEnvironments(environment: Environment[]) {
environment,
}
console.log(ev)
try {
await setDoc(
doc(
@@ -87,7 +85,6 @@ async function writeGlobalEnvironment(variables: Environment["variables"]) {
export function initEnvironments() {
environments$.subscribe((envs) => {
console.log("env update")
if (
currentUser$.value &&
settingsStore.value.syncEnvironments &&