achiv patch
This commit is contained in:
parent
e0ad06a87c
commit
6bd69cd7fb
@ -9,6 +9,7 @@ async def send_update_increment_to_achievement_service(
|
||||
user_id: str,
|
||||
achievement_code: str,
|
||||
increment: int,
|
||||
mode: str="add",
|
||||
with_httpexception=False,
|
||||
sleep: int = None
|
||||
) -> dict:
|
||||
@ -21,7 +22,8 @@ async def send_update_increment_to_achievement_service(
|
||||
json={
|
||||
"user_id": str(user_id),
|
||||
"achievement_code": str(achievement_code),
|
||||
"increment": int(increment)
|
||||
"increment": int(increment),
|
||||
"mode": str(mode)
|
||||
})
|
||||
|
||||
if response.status_code != 200:
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
[project]
|
||||
name = "common-lib"
|
||||
version = "0.0.56"
|
||||
version = "0.0.57"
|
||||
description = "Библиотека общих компонентов для микросервисов yobble"
|
||||
authors = [{ name = "cheykrym", email = "you@example.com" }]
|
||||
license = "MIT"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user