Skip to content

Commit

Permalink
Merge pull request #65 from mittwald/bugfix/fix-conflict-after-client…
Browse files Browse the repository at this point in the history
…-upgrade

Fix conflict after client upgrade
  • Loading branch information
martin-helmich authored Sep 18, 2023
2 parents 8c8e9fa + 4d0d75f commit 3dbe2d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/app/install.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export async function triggerAppInstallation(
async () => {
for (let attempts = 0; attempts < 10; attempts++) {
const result = await apiClient.app.getAppinstallation({
pathParameters: { appInstallationId },
appInstallationId,
});
if (result.status === 200) {
return result.data;
Expand All @@ -50,7 +50,7 @@ export async function triggerAppInstallation(
if ("document-root" in flags && flags["document-root"] !== "/") {
await process.runStep("setting document root", async () => {
const result = await apiClient.app.patchAppinstallation({
pathParameters: { appInstallationId },
appInstallationId,
headers: { "if-event-reached": eventId },
data: {
customDocumentRoot: flags["document-root"],
Expand Down

0 comments on commit 3dbe2d1

Please sign in to comment.