Skip to content

Commit

Permalink
fixed env path in migration and bumped sanity studio version
Browse files Browse the repository at this point in the history
  • Loading branch information
magnusvadoy committed Jun 21, 2023
1 parent 3379be1 commit 95464db
Show file tree
Hide file tree
Showing 3 changed files with 343 additions and 329 deletions.
2 changes: 1 addition & 1 deletion studio/migrations/migrateDocumentType.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { createClient } from '@sanity/client';
import * as dotenv from 'dotenv';
import * as path from 'path';

dotenv.config({ path: path.resolve(__dirname, '..', '.env') });
dotenv.config({ path: path.resolve(__dirname, '..', '..', '.env') });

type Doc = {
_id: string;
Expand Down
Loading

0 comments on commit 95464db

Please sign in to comment.