Skip to content

Commit

Permalink
Fix conflict after client upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-helmich committed Sep 18, 2023
1 parent 8c8e9fa commit 4d0d75f
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 4d0d75f

Please sign in to comment.