mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-10 15:35:35 +00:00
refactor: controllers and models to adapt them to the previous version of my-links
This commit is contained in:
@@ -16,13 +16,14 @@ export default class extends BaseSeeder {
|
||||
|
||||
export function createRandomUser() {
|
||||
return {
|
||||
id: faker.string.uuid(),
|
||||
id: faker.number.int(),
|
||||
email: faker.internet.email(),
|
||||
name: faker.internet.userName(),
|
||||
nickName: faker.internet.displayName(),
|
||||
avatarUrl: faker.image.avatar(),
|
||||
isAdmin: false,
|
||||
providerId: faker.string.uuid(),
|
||||
providerId: faker.number.int(),
|
||||
providerType: 'google' as const,
|
||||
token: {} as GoogleToken,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user