Skip to content

Commit

Permalink
Tes
Browse files Browse the repository at this point in the history
  • Loading branch information
inirey authored Nov 18, 2021
1 parent 7a6e4be commit b53600c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions routes/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -4175,13 +4175,13 @@ res.json(loghandler.invalidKey)
})


router.get('/random/quotes/muslim', async (req, res, next) => {
router.get('/random/quotes2', async (req, res, next) => {
var Apikey = req.query.apikey

if(!Apikey) return res.json(loghandler.notparam)
if(listkey.includes(Apikey)){

fetch(encodeURI(`https://docs-api-zahirrr.herokuapp.com/api/quote?type=agamis`))
fetch(encodeURI(`https://kocakz.herokuapp.com/api/random/text/quotes`))
.then(response => response.json())
.then(data => {
var result = data;
Expand Down

0 comments on commit b53600c

Please sign in to comment.