unpkg/server/actions/showPublicKey.js

8 lines
161 B
JavaScript
Raw Normal View History

2018-02-18 02:00:56 +00:00
const AuthAPI = require("../AuthAPI");
2017-11-11 20:18:13 +00:00
function showPublicKey(req, res) {
2018-02-18 02:00:56 +00:00
res.send({ publicKey: AuthAPI.getPublicKey() });
2017-11-11 20:18:13 +00:00
}
2018-02-18 02:00:56 +00:00
module.exports = showPublicKey;