Skip to content

Commit c5e9316

Browse files
authored
更新 subscribe_oper.py
1 parent 1e2ca29 commit c5e9316

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/db/subscribe_oper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ async def async_get(self, sid: int) -> Subscribe:
108108
"""
109109
获取订阅
110110
"""
111-
return await Subscribe.async_get(self._db, id=sid)
111+
return await Subscribe.async_get(self._db, rid=sid)
112112

113113
def list(self, state: Optional[str] = None) -> List[Subscribe]:
114114
"""

0 commit comments

Comments
 (0)