Skip to content

Commit 131026e

Browse files
Fix the problem that don't work on 4.2.0 (#3)
Fixed an issue where it was not available in version 4.2.0
2 parents 5902fc9 + 7423359 commit 131026e

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ permissions:
55

66
on:
77
push:
8+
branches:
9+
- "master"
810
tags:
911
- "v*.*.*"
1012

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "mhyy.py"
7-
version = "1.0.2"
7+
version = "1.0.3"
88
authors = [
99
{ name = "GuangChen2333", email = "guangchenworks@outlook.com" },
1010
]

src/mhyy/_user.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class UserType(enum.Enum):
66

77

88
class UserChannel(enum.Enum):
9-
Mihoyo = "mihoyo"
9+
Mihoyo = "cyydmihoyo"
1010

1111

1212
class UserCGGameBiz(enum.Enum):
@@ -18,7 +18,7 @@ class UserOpBiz(enum.Enum):
1818

1919

2020
class UserCps(enum.Enum):
21-
Mihoyo = "mihoyo"
21+
Mihoyo = "cyydmihoyo"
2222

2323

2424
class User:

0 commit comments

Comments
 (0)