Commit edb27c2b authored by 神楽坂玲奈's avatar 神楽坂玲奈

匹配locale

parent eb76eb2f
...@@ -403,6 +403,7 @@ export class YGOProComponent implements OnInit { ...@@ -403,6 +403,7 @@ export class YGOProComponent implements OnInit {
headers.append("Authorization", "Basic " + new Buffer(this.loginService.user.username + ":" + this.loginService.user.external_id).toString('base64')); headers.append("Authorization", "Basic " + new Buffer(this.loginService.user.username + ":" + this.loginService.user.external_id).toString('base64'));
let search = new URLSearchParams(); let search = new URLSearchParams();
search.set("arena", arena); search.set("arena", arena);
search.set("locale", this.settingsService.getLocale());
this.matching_arena = matching_arena = arena; this.matching_arena = matching_arena = arena;
this.matching = matching = this.http.post('https://api.mycard.moe/ygopro/match', null, { this.matching = matching = this.http.post('https://api.mycard.moe/ygopro/match', null, {
headers: headers, headers: headers,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment