Skip to content
This repository has been archived by the owner on Jan 18, 2025. It is now read-only.

Commit

Permalink
fix: change default api list to use
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinNitroG committed Jan 15, 2025
1 parent c441a50 commit 6e06041
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config.sample.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"enable": false
}
],
"api": ["checkphatnguoi.vn", "csgt.vn", "csgt.vn"],
"api": ["phatnguoi.vn", "checkphatnguoi.vn", "phatnguoi.vn", "csgt.vn"],
"notifications": [
{
"telegram": {
Expand Down
2 changes: 1 addition & 1 deletion src/check_phat_nguoi/config/models/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class Config(BaseModel):
api: tuple[ApiEnum, ...] | ApiEnum = Field(
title="API",
description="Sử dụng API từ trang web nào. Mặc định sẽ là list các API và dừng khi 1 API lấy dữ liệu thành công. Có thể điền giá trị trùng để retry. Hoặc chỉ dùng 1 API. Hiện tại API từ cgst.vn không đảm bảo có thể chạy.",
default=(ApiEnum.checkphatnguoi_vn),
default=(ApiEnum.phatnguoi_vn, ApiEnum.checkphatnguoi_vn),
min_length=1,
)
print_console: bool = Field(
Expand Down

0 comments on commit 6e06041

Please sign in to comment.