Created
December 16, 2019 16:14
-
-
Save jesusprubio/3da9e6db630a8c8d157c7243cd3f43d8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
const motivation = require('motivation'); | |
module.exports = async () => { | |
const res = motivation.get(); | |
strapi.log.info(`\n${res.text} (${res.author})\n`); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment