summaryrefslogtreecommitdiff
path: root/school/node_modules/pronote-api/src/fetch/pronote/files.js
blob: 2871fbeaf1e07d48fe58c31469e8952b31374441 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
const navigate = require('./navigate');

const PAGE_NAME = 'RessourcePedagogique';
const TAB_ID = 99;
const ACCOUNTS = ['student'];

async function getFiles(session, user)
{
    return await navigate(session, user, PAGE_NAME, TAB_ID, ACCOUNTS, {
        avecRessourcesPronote: true,
        avecRessourcesEditeur: false
    });
}


module.exports = getFiles;