mirror of
https://github.com/ow-mods/ow-mod-db.git
synced 2025-12-11 20:15:24 +01:00
add some logs
This commit is contained in:
parent
81443a9b65
commit
8e40bb767c
@ -54,6 +54,7 @@ export async function fetchMods(modsJson: string, gitHubToken: string) {
|
||||
);
|
||||
|
||||
const latestReleaseFromList = releaseList[0];
|
||||
console.log("latestReleaseFromList", latestReleaseFromList);
|
||||
|
||||
let latestReleaseFromApi: OctokitRelease | null = null;
|
||||
|
||||
@ -64,6 +65,8 @@ export async function fetchMods(modsJson: string, gitHubToken: string) {
|
||||
repo,
|
||||
})
|
||||
).data;
|
||||
|
||||
console.log("latestReleaseFromApi", latestReleaseFromApi);
|
||||
} catch (error) {
|
||||
console.log(`Failed to get latest release from API: ${error}`);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user