Skip to content

Commit

Permalink
fix: ng ownerId
Browse files Browse the repository at this point in the history
  • Loading branch information
davlgd committed Feb 5, 2025
1 parent 950d9a1 commit 0b3f340
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/otoroshi.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export async function expose (params) {
throw new Error(`The Otoroshi operator ${colors.red(otoroshi.addonId)} does not belong to the same organisation as ${colors.red(appId)}`);
}

const ngInfo = await NG.create(`${otoroshi.addonId.split('-')[0]}-${appId.split('-')[0]}`, null, null, [appId, otoroshi.javaId], null);
const ngInfo = await NG.create(`${otoroshi.addonId.split('-')[0]}-${appId.split('-')[0]}`, null, null, [appId, otoroshi.javaId], ownerId);
const ng = await NG.getNG(ngInfo.id);

const member = Object.values(ng.members).find((m) => m.id === appId);
Expand Down

0 comments on commit 0b3f340

Please sign in to comment.