Skip to content

Commit

Permalink
Merge pull request #2140 from gdg-x/users
Browse files Browse the repository at this point in the history
Remove unused saveUserData function
  • Loading branch information
abraham authored Jan 14, 2022
2 parents 457f753 + a85aec2 commit 13aaf4d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 17 deletions.
1 change: 1 addition & 0 deletions firestore.rules
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ service cloud.firestore {
allow write: if false;
}

// TODO: Remove along with data
match /users/{userId} {
allow list: if false;

Expand Down
2 changes: 0 additions & 2 deletions functions/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import { mailchimpSubscribe } from './mailchimp-subscribe.js';
import { sendGeneralNotification } from './notifications.js';
import { optimizeImages } from './optimize-images.js';
import { prerender } from './prerender.js';
import { saveUserData } from './save-user-data.js';
import { scheduleNotifications } from './schedule-notifications.js';

// TODO: Update `tsconfig.json`
Expand All @@ -20,7 +19,6 @@ import { scheduleNotifications } from './schedule-notifications.js';
initializeApp();

export {
saveUserData,
sendGeneralNotification,
scheduleNotifications,
optimizeImages,
Expand Down
15 changes: 0 additions & 15 deletions functions/src/save-user-data.ts

This file was deleted.

0 comments on commit 13aaf4d

Please sign in to comment.