Skip to content

Commit c76f3e5

Browse files
authored
Merge pull request #167 from entrius/test
Release: installation webhook column-name fixes (#165, #166)
2 parents 5cace88 + 8c02a53 commit c76f3e5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/das/src/webhook/handlers/installation.handler.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export class InstallationHandler {
2626
.createQueryBuilder()
2727
.update()
2828
.set({ installationId: null, registered: false })
29-
.where("installationId = :id", { id: String(installationId) })
29+
.where("installation_id = :id", { id: String(installationId) })
3030
.execute();
3131
return;
3232
}
@@ -49,7 +49,7 @@ export class InstallationHandler {
4949
installationId: String(installationId),
5050
addedAt: new Date().toISOString(),
5151
})
52-
.orUpdate(["installationId"], ["repoFullName"])
52+
.orUpdate(["installation_id"], ["repo_full_name"])
5353
.execute();
5454
this.logger.log(`Tracking repo: ${repo.full_name}`);
5555
}

0 commit comments

Comments
 (0)