Skip to content

Commit bb950da

Browse files
authored
Merge pull request #144 from fiznool/fix/gb-cell-number-format
Format GB cell numbers as 07xxx xxxxxx
2 parents e0e221b + 5450413 commit bb950da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

api/.nextRelease/data/GB/inject.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ module.exports = (inc, contents) => {
2929
contents.phone = randomItem(phones);
3030
});
3131

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

3434
include(inc, contents, 'location', () => {
3535
const code = 'ABDEFGHJLNPQRSTUWXYZ';
@@ -59,4 +59,4 @@ module.exports = (inc, contents) => {
5959
});
6060

6161
include(inc, contents, 'picture', pic);
62-
};
62+
};

0 commit comments

Comments
 (0)