Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
S
srvpro
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
srvpro
Commits
3bce790e
Commit
3bce790e
authored
Dec 30, 2025
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
225230ad
Pipeline
#42236
passed with stages
in 8 minutes and 45 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
ygopro-server.coffee
ygopro-server.coffee
+1
-1
ygopro-server.js
ygopro-server.js
+4
-2
No files found.
ygopro-server.coffee
View file @
3bce790e
...
@@ -251,7 +251,7 @@ call_match_api = (method, path, params) ->
...
@@ -251,7 +251,7 @@ call_match_api = (method, path, params) ->
return
null
return
null
match_api_url
=
new
URL
(
settings
.
modules
.
arena_mode
.
match_api
.
url
+
"/"
+
path
)
match_api_url
=
new
URL
(
settings
.
modules
.
arena_mode
.
match_api
.
url
+
"/"
+
path
)
match_api_url
.
searchParams
.
append
(
'ak'
,
settings
.
modules
.
arena_mode
.
match_api
.
accesskey
)
match_api_url
.
searchParams
.
append
(
'ak'
,
settings
.
modules
.
arena_mode
.
match_api
.
accesskey
)
for
entry
of
Object
.
entries
(
params
)
for
entry
in
Object
.
entries
(
params
)
key
=
entry
[
0
]
key
=
entry
[
0
]
val
=
entry
[
1
]
val
=
entry
[
1
]
match_api_url
.
searchParams
.
append
(
key
,
val
)
match_api_url
.
searchParams
.
append
(
key
,
val
)
...
...
ygopro-server.js
View file @
3bce790e
...
@@ -320,13 +320,15 @@
...
@@ -320,13 +320,15 @@
};
};
call_match_api
=
async
function
(
method
,
path
,
params
)
{
call_match_api
=
async
function
(
method
,
path
,
params
)
{
var
e
,
entry
,
key
,
match_api_url
,
res
,
val
;
var
e
,
entry
,
j
,
key
,
len
,
match_api_url
,
ref
,
res
,
val
;
if
(
!
settings
.
modules
.
arena_mode
.
match_api
.
enabled
)
{
if
(
!
settings
.
modules
.
arena_mode
.
match_api
.
enabled
)
{
return
null
;
return
null
;
}
}
match_api_url
=
new
URL
(
settings
.
modules
.
arena_mode
.
match_api
.
url
+
"
/
"
+
path
);
match_api_url
=
new
URL
(
settings
.
modules
.
arena_mode
.
match_api
.
url
+
"
/
"
+
path
);
match_api_url
.
searchParams
.
append
(
'
ak
'
,
settings
.
modules
.
arena_mode
.
match_api
.
accesskey
);
match_api_url
.
searchParams
.
append
(
'
ak
'
,
settings
.
modules
.
arena_mode
.
match_api
.
accesskey
);
for
(
entry
in
Object
.
entries
(
params
))
{
ref
=
Object
.
entries
(
params
);
for
(
j
=
0
,
len
=
ref
.
length
;
j
<
len
;
j
++
)
{
entry
=
ref
[
j
];
key
=
entry
[
0
];
key
=
entry
[
0
];
val
=
entry
[
1
];
val
=
entry
[
1
];
match_api_url
.
searchParams
.
append
(
key
,
val
);
match_api_url
.
searchParams
.
append
(
key
,
val
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment