fix(remote_judger/uoj): account type

This commit is contained in:
Baoshuo Ren 2023-01-24 11:59:00 +08:00
parent e768c0ea05
commit 7bc11120b9
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A

View File

@ -83,7 +83,7 @@ export function getAccountInfoFromEnv(): RemoteAccount | null {
if (!UOJ_HANDLE || !UOJ_PASSWORD) return null; if (!UOJ_HANDLE || !UOJ_PASSWORD) return null;
const account: RemoteAccount = { const account: RemoteAccount = {
type: 'codeforces', type: 'uoj',
handle: UOJ_HANDLE, handle: UOJ_HANDLE,
password: UOJ_PASSWORD, password: UOJ_PASSWORD,
endpoint: UOJ_ENDPOINT, endpoint: UOJ_ENDPOINT,