Use secretKey module directly
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
const AuthAPI = require("../AuthAPI");
|
||||
const secretKey = require("../secretKey");
|
||||
|
||||
function showPublicKey(req, res) {
|
||||
res.send({ publicKey: AuthAPI.getPublicKey() });
|
||||
res.send({ publicKey: secretKey.public });
|
||||
}
|
||||
|
||||
module.exports = showPublicKey;
|
||||
|
Reference in New Issue
Block a user