adjust alias cleanup
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
b306a7f727
commit
fb29813345
@ -56,8 +56,8 @@ export class AliasesService<ServiceParams extends AliasesParams = AliasesParams>
|
||||
async create(data: AliasesData, params: ServiceParams): Promise<Alias | Alias[]> {
|
||||
const userId = await this.getUserIdByEmailAddress(params)
|
||||
const aliasFirstPart = faker.animal.crocodilia()
|
||||
.replace(/\D/, '')
|
||||
.replace(/\s/, '')
|
||||
.replace(/\D/g, '')
|
||||
.replace(/\s/g, '')
|
||||
.slice(0, 10);
|
||||
|
||||
const aliasSecondPart = faker.git.commitSha({ length: 5 });
|
||||
|
Loading…
Reference in New Issue
Block a user