Skip to content

Commit ff129f8

Browse files
committed
wip
1 parent c377b60 commit ff129f8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

hasura/functions/match/get_match_tv_connection_string.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ CREATE OR REPLACE FUNCTION public.get_match_tv_connection_string(match public.ma
3131
return null;
3232
end if;
3333

34-
relay_domain := get_setting('relay_domain');
34+
relay_domain := get_setting('relay_domain', 'https://relay.5stack.gg');
3535
use_playcast := get_setting('use_playcast', 'false');
3636

37-
if(use_playcast = 'true' and relay_url is not null) then
37+
if(use_playcast = 'true' and relay_domain is not null) then
3838
return CONCAT('playcast ', '"', relay_domain, match_id, '"');
3939
else
4040
return CONCAT('connect ', CONCAT(server_host, ':', tv_port), '; password ', password);

0 commit comments

Comments
 (0)