source: src/lib/firebase-admin.ts

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

add customer

  • Property mode set to 100644
File size: 230 bytes
RevLine 
[5d6f37a]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.