Skip to content

Commit

Permalink
add typedef to api/fetcher
Browse files Browse the repository at this point in the history
  • Loading branch information
philippdormann committed Jun 25, 2021
1 parent 85ca324 commit a6c1cf4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions api/fetcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ const cheerio = require('cheerio');
const axios = require('axios').default;
const institutions = require('../institutions.json');
// =========
/**
* @returns {string} html content of mensaplan
*/
exports.fetcher = ({ p, e }) => {
return new Promise(function (resolve, reject) {
if (p && e) {
Expand Down

0 comments on commit a6c1cf4

Please sign in to comment.