source: src/lib/firebase-admin.ts@ 5d6f37a

main
Last change on this file since 5d6f37a was 5d6f37a, checked in by Naum Shapkarovski <naumshapkarovski@…>, 7 weeks ago

add customer

  • Property mode set to 100644
File size: 230 bytes
Line 
1import * as admin from 'firebase-admin';
2import { applicationDefault } from 'firebase-admin/app';
3
4if (!admin.apps.length) {
5 admin.initializeApp({
6 credential: applicationDefault(),
7 });
8}
9
10export const auth = admin.auth();
Note: See TracBrowser for help on using the repository browser.