Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
chore: updated seed file
Mir Arif Hasan55f79507fe3f
diff --git a/packages/hoppscotch-backend/prisma/seed.ts b/packages/hoppscotch-backend/prisma/seed.tsindex 54a7d8da3..734b7c2ab 100644--- a/packages/hoppscotch-backend/prisma/seed.ts+++ b/packages/hoppscotch-backend/prisma/seed.ts@@ -2,8 +2,8 @@ import { PrismaClient, User, UserSettings } from '@prisma/client';const prisma = new PrismaClient();const createUsers = async () => {- console.log(`users creating`);- let users: User[] = [+ console.log(`Creating new users`);+ const users: User[] = [{uid: 'aabb22ccdd',displayName: 'exampleUser',@@ -19,8 +19,8 @@ const createUsers = async () => {};const createUserSettings = async () => {- console.log(`user setting creating`);- let userSettings: any[] = [+ console.log(`Creating user settings property`);+ const userSettings: any[] = [{userUid: 'aabb22ccdd',settings: { key: 'background', value: 'system' },