Skip to content

Commit b7c7be0

Browse files
committed
Merge branch 'develop' into production
2 parents fb61e8d + 8b8a8ef commit b7c7be0

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

functions/common/methods.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -976,7 +976,7 @@ export const getActiveQueueForGame = async (
976976

977977
log('Evaluating active queue for game', { game: game.name, autoPostSetting, imageSource }, 'info')
978978

979-
if ((autoPostSetting && game.queuehash?.length) || approvingAmbassadorIsApproved) {
979+
if ((autoPostSetting && (game.queuehash?.length || game.awsRegion?.length)) || approvingAmbassadorIsApproved) {
980980
adminBikeTag =
981981
adminBikeTag ??
982982
new BikeTagClient(getBikeTagClientOpts({ method: 'get' } as Request, true, true, game))
@@ -1011,6 +1011,8 @@ export const getActiveQueueForGame = async (
10111011
}
10121012
}
10131013
}
1014+
} else {
1015+
log('Auto-post setting incomplete and no approving ambassador, skipping queue processing', { game: game.name }, 'error')
10141016
}
10151017

10161018
return { queuedTags, completedTags, timedOutTags }

0 commit comments

Comments
 (0)