Skip to content

Commit

Permalink
fix firebase function for retrieving config from firestore collection (
Browse files Browse the repository at this point in the history
  • Loading branch information
noursaidi committed May 17, 2022
1 parent beaf98a commit 0e9ffd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dashboard/functions/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ function consolidate_config(registryId, deviceId, subFolder) {
const cloudRegion = registry_regions[registryId];
const reg_doc = firestore.collection('registries').doc(registryId);
const dev_doc = reg_doc.collection('devices').doc(deviceId);
const configs = dev_doc.collection('configs');
const configs = dev_doc.collection(CONFIG_TYPE);

if (subFolder == UPDATE_FOLDER) {
return;
Expand Down

0 comments on commit 0e9ffd4

Please sign in to comment.