Skip to content

Commit

Permalink
Add avatar statuses.
Browse files Browse the repository at this point in the history
  • Loading branch information
Damnae committed Feb 8, 2024
1 parent c970608 commit e1bee92
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/sources/status.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ export async function getStatuses(commitId:string) : Promise<StatusConfig>
let config = statusConfigCache[commitId]
if (config == undefined)
{
const statuses = await retrieveJson('ExcelOutput/StatusConfig.json', commitId, false) as StatusConfig
const statuses = {
...await retrieveJson('ExcelOutput/StatusConfig.json', commitId, false) as StatusConfig,
...await retrieveJson('ExcelOutput/AvatarStatusConfig.json', commitId, false) as StatusConfig,
}
for (const key in statuses)
{
const status = statuses[key]
Expand Down

0 comments on commit e1bee92

Please sign in to comment.