Skip to content

Commit

Permalink
chore: sync with upstream repo (#9)
Browse files Browse the repository at this point in the history
* fix: add --always to update_gui_version.sh

To get results even if there are no tags yet in the repository.

* fix: update code to rename from agile to ateliere or simply live

* fixup! Merge remote-tracking branch 'upstream/main' into chore-sync-with-upstream

* chore: fix variable name

---------

Co-authored-by: Per Moberg <[email protected]>
  • Loading branch information
birme and Per Moberg committed Sep 6, 2024
1 parent 43e4c1f commit f920b5a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/api/ateliereLive/ingest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ export async function getSourceThumbnail(
export async function deleteSrtSource(ingestUuid: string, sourceId: number) {
const response = await fetch(
new URL(
AGILE_BASE_API_PATH + `/ingests/${ingestUuid}/sources/${sourceId}`,
process.env.AGILE_URL
LIVE_BASE_API_PATH + `/ingests/${ingestUuid}/sources/${sourceId}`,
process.env.LIVE_URL
),
{
method: 'DELETE',
Expand Down
6 changes: 3 additions & 3 deletions src/api/ateliereLive/pipelines/multiviews/multiviews.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import { createMultiview } from '../../utils/multiview';
import { getSourcesByIds } from '../../../manager/sources';
import { Log } from '../../../logger';
import { ProductionSettings } from '../../../../interfaces/production';
import { AGILE_BASE_API_PATH } from '../../../../constants';
import { MultiviewSettings } from '../../../../interfaces/multiview';
import { LIVE_BASE_API_PATH } from '../../../../constants';

export async function getMultiviewsForPipeline(
pipelineUUID: string
Expand Down Expand Up @@ -130,8 +130,8 @@ export async function createMultiviewForPipeline(
}
const response = await fetch(
new URL(
AGILE_BASE_API_PATH + `/pipelines/${pipelineUUID}/multiviews`,
process.env.AGILE_URL
LIVE_BASE_API_PATH + `/pipelines/${pipelineUUID}/multiviews`,
process.env.LIVE_URL
),
{
method: 'POST',
Expand Down

0 comments on commit f920b5a

Please sign in to comment.