mirror of
https://github.com/reiyua/github-profile-trophy-reiyua-mirror.git
synced 2026-11-17 06:02:09 +11:00
fix(typo): splitedURL -> splittedURL
This commit is contained in:
parent
02f861a50b
commit
d1afb967cd
1 changed files with 3 additions and 3 deletions
|
|
@ -38,11 +38,11 @@ export class CustomURLSearchParams extends URLSearchParams {
|
||||||
}
|
}
|
||||||
|
|
||||||
export function parseParams(req: ServerRequest): CustomURLSearchParams {
|
export function parseParams(req: ServerRequest): CustomURLSearchParams {
|
||||||
const splitedURL = req.url.split("?");
|
const splittedURL = req.url.split("?");
|
||||||
if (splitedURL.length < 2) {
|
if (splittedURL.length < 2) {
|
||||||
return new CustomURLSearchParams();
|
return new CustomURLSearchParams();
|
||||||
}
|
}
|
||||||
return new CustomURLSearchParams(splitedURL[1]);
|
return new CustomURLSearchParams(splittedURL[1]);
|
||||||
}
|
}
|
||||||
|
|
||||||
export function abridgeScore(score: number): string {
|
export function abridgeScore(score: number): string {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue