Rebrand the product to Montact and point local UI at production API.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import { PrismaClient } from '@prisma/client';
|
||||
import * as bcrypt from 'bcryptjs';
|
||||
import { brand } from '@mento/shared';
|
||||
|
||||
const prisma = new PrismaClient();
|
||||
|
||||
@@ -20,7 +21,7 @@ async function main() {
|
||||
if (org) {
|
||||
org = await prisma.organization.update({
|
||||
where: { id: org.id },
|
||||
data: { slug: 'demo-mento', name: 'سازمان نمونه منتو' },
|
||||
data: { slug: 'demo-mento', name: `سازمان نمونه ${brand.nameFa}` },
|
||||
});
|
||||
console.log('Renamed demo org slug to demo-mento');
|
||||
}
|
||||
@@ -30,7 +31,7 @@ async function main() {
|
||||
const passwordHash = await bcrypt.hash('demo1234', 10);
|
||||
org = await prisma.organization.create({
|
||||
data: {
|
||||
name: 'سازمان نمونه منتو',
|
||||
name: `سازمان نمونه ${brand.nameFa}`,
|
||||
slug: 'demo-mento',
|
||||
baseCurrency: 'IRR',
|
||||
enabledCurrencies: ['IRR', 'USD', 'EUR'],
|
||||
@@ -747,7 +748,7 @@ async function main() {
|
||||
data: [
|
||||
{
|
||||
organizationId: org.id,
|
||||
name: 'لایسنس سازمانی منتو',
|
||||
name: `لایسنس سازمانی ${brand.nameFa}`,
|
||||
sku: 'MENTO-ORG',
|
||||
unitPrice: 80_000_000,
|
||||
currency: 'IRR',
|
||||
|
||||
Reference in New Issue
Block a user