Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmycallin committed Apr 2, 2024
1 parent 71acb0e commit 4699547
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions actions/ftrack-sync/ftrack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,11 @@ export async function ensureChangeRequestExists(repo: string, tag: string) {
const changeRequestName = `Deploy ${packageName} ${tag}`;
const changeRequestExists = (
await getSession().query(
`select id from ChangeRequest where name is "${changeRequestName}"`,
`select id from Change where name is "${changeRequestName}"`,
)
).data[0];
if (!changeRequestExists) {
const result = await getSession().create("ChangeRequest", {
const result = await getSession().create("Change", {
name: `Deploy ${repo} ${tag}`,
parent_id: "f9497d8b-3026-46b4-96f4-a47aa9a73804",
project_id: "dc34b754-79e8-11e3-b4d0-040102b7e101",
Expand Down

0 comments on commit 4699547

Please sign in to comment.