Skip to content

Commit

Permalink
Remove unused saveUserData function
Browse files Browse the repository at this point in the history
  • Loading branch information
abraham committed Jan 14, 2022
1 parent 457f753 commit a85aec2
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 a85aec2

Please sign in to comment.