message: docs ads, allow for null weight
diff: @@ -25,7 +25,8 @@ export const getAd = async () => {
  const chooseAdByWeight = () => {
  const weightList = []; // Just Checking...
  for (const ad of ads) {
  - if (ad['data'] && ad['data'].ad_weight) { // Safety
  + if (ad['data']) { // Safety
  + if (!ad['data'].ad_weight) ad['data'].ad_weight = 1;
  for (let i = 0; i < ad['data'].ad_weight; i++) {
  weightList.push(ad);
  }
  