mirror of
https://github.com/PretendoNetwork/website.git
synced 2026-07-28 05:38:38 -05:00
Merge branch 'dev'
This commit is contained in:
commit
f9601953b5
|
|
@ -9,7 +9,19 @@ let cache;
|
|||
async function getTrelloCache() {
|
||||
const available = await trelloAPIAvailable();
|
||||
if (!available) {
|
||||
return cache;
|
||||
return cache || {
|
||||
update_time: 0,
|
||||
sections: [{
|
||||
title: 'Upstream API error',
|
||||
id: '',
|
||||
percentage_complete: '',
|
||||
progress: {
|
||||
not_started: [ 'Trello API unavailable' ],
|
||||
started: [],
|
||||
completed: []
|
||||
}
|
||||
}],
|
||||
};
|
||||
}
|
||||
|
||||
if (!cache) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user