aboutsummaryrefslogtreecommitdiff
path: root/src/actions/firebaseFirestore.js
diff options
context:
space:
mode:
authorMichael Foiani <mfoiani2019@communiyschoolnaples.org>2018-08-13 23:13:56 -0400
committerMichael Foiani <mfoiani2019@communiyschoolnaples.org>2018-08-13 23:13:56 -0400
commitfe125c5deb979d753d8b903ce6cdeb968e1c5f46 (patch)
tree079474a83ab36a1cd2566b0528362288dbbbeba9 /src/actions/firebaseFirestore.js
parentb1d481ee51e39734a9f10b14d5bc907d17c2afd0 (diff)
Attempting to fix issue with building and serving. I believe it was a semicolon I missed in the actions of the app.js.
Diffstat (limited to 'src/actions/firebaseFirestore.js')
-rw-r--r--src/actions/firebaseFirestore.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/actions/firebaseFirestore.js b/src/actions/firebaseFirestore.js
index 7e65eec..a95e0c8 100644
--- a/src/actions/firebaseFirestore.js
+++ b/src/actions/firebaseFirestore.js
@@ -1,4 +1,4 @@
-import { firestore, fireStorage } from '../firebase.js';
+import { firestore, storage } from '../firebase.js';
export const UPDATE_DIVISON = 'UPDATE_DIVISON';
export const UPDATE_HOURS = 'UPDATE_HOURS';
@@ -106,8 +106,8 @@ export const requestHours = (_time, _trainee, _location, _subject, _date, _pictu
const _email = getState().firebaseAuth.userEmail;
const _path = 'requests/' + _uid + '/' + _pictureName;
- var fireStorageRef = fireStorage.ref().child(_path);
- fireStorageRef.getDownloadURL().then((url) => {
+ var storageRef = storage.ref().child(_path);
+ storageRef.getDownloadURL().then((url) => {
docRef.add({
time: _time,
trainee: _trainee,