Skip to content

Commit

Permalink
[push] Removing leading numbers from topics
Browse files Browse the repository at this point in the history
  • Loading branch information
iartem committed Nov 19, 2021
1 parent 7359713 commit 691a8c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/push/api/parts/credentials.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ class Credentials {
tpks = tpks.value.replace(/0[\x00-\x1f\(\)!]/gi, '') //eslint-disable-line no-useless-escape
.replace('\f\f', '\f')
.split('\f')
.map(s => s.replace(/[^A-Za-z0-9\-\.]/gi, '').trim()); //eslint-disable-line no-useless-escape
.map(s => s.replace(/[^A-Za-z\-\.]/gi, '').trim()); //eslint-disable-line no-useless-escape
tpks.shift();

for (var i = 0; i < tpks.length; i++) {
Expand Down

0 comments on commit 691a8c4

Please sign in to comment.