Skip to content

Commit

Permalink
Merge pull request RandomAPI#144 from fiznool/fix/gb-cell-number-format
Browse files Browse the repository at this point in the history
Format GB cell numbers as 07xxx xxxxxx
  • Loading branch information
keitharm committed Jul 13, 2020
2 parents e0e221b + 5450413 commit bb950da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/.nextRelease/data/GB/inject.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ module.exports = (inc, contents) => {
contents.phone = randomItem(phones);
});

include(inc, contents, 'cell', '07' + random(3, 2) + '-' + random(3, 3) + '-' + random(3, 3));
include(inc, contents, 'cell', '07' + random(3, 3) + ' ' + random(3, 6));

include(inc, contents, 'location', () => {
const code = 'ABDEFGHJLNPQRSTUWXYZ';
Expand Down Expand Up @@ -59,4 +59,4 @@ module.exports = (inc, contents) => {
});

include(inc, contents, 'picture', pic);
};
};

0 comments on commit bb950da

Please sign in to comment.