Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
N
Neos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
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
Neos
Commits
bc7e60c7
Commit
bc7e60c7
authored
Sep 09, 2023
by
Chunchi Che
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix/match' into 'main'
修复娱乐匹配中萌卡账号名称是中文名的情况会出错的问题 See merge request
mycard/Neos!307
parents
93bd20cc
ce2c0d7c
Pipeline
#23432
passed with stages
in 14 minutes and 24 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
src/api/mycard/match.ts
src/api/mycard/match.ts
+4
-1
No files found.
src/api/mycard/match.ts
View file @
bc7e60c7
...
@@ -11,7 +11,10 @@ export async function match(
...
@@ -11,7 +11,10 @@ export async function match(
extraId
:
number
,
extraId
:
number
,
arena
:
string
=
"
entertain
"
,
arena
:
string
=
"
entertain
"
,
):
Promise
<
MatchInfo
|
undefined
>
{
):
Promise
<
MatchInfo
|
undefined
>
{
const
headers
=
{
Authorization
:
"
Basic
"
+
btoa
(
username
+
"
:
"
+
extraId
)
};
const
headers
=
{
Authorization
:
"
Basic
"
+
btoa
(
encodeURIComponent
(
username
)
+
"
:
"
+
extraId
),
};
let
response
:
Response
|
undefined
=
undefined
;
let
response
:
Response
|
undefined
=
undefined
;
const
params
=
new
URLSearchParams
({
const
params
=
new
URLSearchParams
({
arena
,
arena
,
...
...
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