Change service account file to private-key.json
This commit is contained in:
1 parent
3a5bccf185
commit
414b2dd058
1 file changed
+1
-1
+1
-1
@@ -1,7 +1,7 @@
|
||||
import fs from "fs";
|
||||
import jwt from "jsonwebtoken"
|
||||
|
||||
const sa = JSON.parse(fs.readFileSync("./service-account.json"));
|
||||
const sa = JSON.parse(fs.readFileSync("./private-key.json"));
|
||||
|
||||
const now = Math.floor(Date.now() / 1000);
|
||||
|
||||
|
||||
Reference in new issue
Block a user