Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
lxRbckl committed Jul 14, 2024
1 parent 613a387 commit d849c64
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,24 @@ import archiveConfig from './src/config/archiveManagerConfig';

(async () => {

const archiveHandler: archiveManager = new archiveManager({
cron.schedule('0 0 * * *', async () => {

githubUsers : await axiosGet(archiveConfig.urlGitHubUsers)
// initialize object <
const archiveHandler: archiveManager = new archiveManager({

});

const archive: Archive = await archiveHandler.getArchive();
await archiveHandler.setArchive({archive : archive});
githubUsers : await axiosGet(archiveConfig.urlGitHubUsers)

});

// cron.schedule('0 0 * * *', async () => {
// >

// build archive <
// publish archive <
const archive: Archive = await archiveHandler.getArchive();
await archiveHandler.setArchive({archive : archive});

// >


// });
});

})();

0 comments on commit d849c64

Please sign in to comment.