Implemented HTTP(s) Request, added add and delete to and from job queue
This commit is contained in:
1 parent
f827293a12
commit
a9ddb27218
6 files changed
+48
-10
No files matched your search
@@ -24,6 +24,7 @@ const {
|
||||
* @returns {String}
|
||||
*/
|
||||
const issueToken = (payload) => {
|
||||
//TODO Add proper expiration date
|
||||
return jwt.sign(payload, process.env.JWT_SECRET, { expiresIn: "99d" });
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user