Skip to content

Commit

Permalink
0.0.478
Browse files Browse the repository at this point in the history
  • Loading branch information
ivansglazunov committed Sep 9, 2024
1 parent 5b4746b commit f9773ed
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions migrations/1725896857619-perception.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { DeepClient } from '../imports/client.js';
import { installPackage } from './1678940577209-deepcase.js';
import { packageExists, sharePermissions } from './1664940577200-tsx.js';

const debug = Debug('deeplinks:migrations:perception');
const debug = Debug('deeplinks:migrations:perception-links');
const log = debug.extend('log');
const error = debug.extend('error');

Expand All @@ -20,13 +20,13 @@ const root = new DeepClient({

export const up = async () => {
log('up');
const packageName = '@deep-foundation/perception';
const packageName = '@deep-foundation/perception-links';
if (!await packageExists(packageName)) {
const adminId = await root.id('deep', 'admin');
const admin = await root.login({ linkId: adminId });
const deep = new DeepClient({ deep: root, ...admin });

await installPackage(deep, '@deep-foundation/perception');
await installPackage(deep, '@deep-foundation/perception-links');
}
};

Expand Down

0 comments on commit f9773ed

Please sign in to comment.