Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused/broken functions #757

Merged
merged 4 commits into from Jun 10, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
42 changes: 0 additions & 42 deletions functions/common/auth.js

This file was deleted.

12 changes: 5 additions & 7 deletions functions/common/context.js
Expand Up @@ -15,18 +15,16 @@
* limitations under the License.
*/

'use strict';
"use strict";

const admin = require('firebase-admin');
const functions = require('firebase-functions');
const Auth = require('./auth');
const Datastore = require('./datastore')
const admin = require("firebase-admin");
const functions = require("firebase-functions");
const Datastore = require("./datastore");

// functions.config().firebase is auto-populated with configuration needed to
// initialize the firebase-admin SDK when deploying via Firebase CLI.
admin.initializeApp(functions.config().firebase);

const db = new Datastore(admin.firestore());
const auth = new Auth();

module.exports = {db, auth};
module.exports = { db };
183 changes: 0 additions & 183 deletions functions/common/kml-writer.js

This file was deleted.

30 changes: 0 additions & 30 deletions functions/common/sheet-config.js

This file was deleted.