Skip to content

Commit

Permalink
chore: changed requested
Browse files Browse the repository at this point in the history
  • Loading branch information
incredible-phoenix246 committed Jul 19, 2024
1 parent 0cacaaf commit 872072e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/seeder.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// src/seeder.ts
import { AppDataSource } from "./data-source";
import { User, Organization, Product, Profile } from "./models";
import log from "./utils/logger";

const seed = async () => {
const user1 = new User();
Expand Down Expand Up @@ -64,7 +65,7 @@ const seed = async () => {
await AppDataSource.manager.save(organization1);
await AppDataSource.manager.save(organization2);

console.log("Seeding completed successfully.");
log.info("Seeding completed successfully.");
};

export { seed };

0 comments on commit 872072e

Please sign in to comment.