impls claims on looted items
This commit is contained in:
1 parent
36c8f24fdc
commit
5a792edb20
5 files changed
+59
-50
No files matched your search
@@ -62,6 +62,10 @@ pub(crate) fn serve() -> std::io::Result<()> {
|
||||
db_call(pool, move |api| api.fetch_players())
|
||||
}),
|
||||
)
|
||||
.route(
|
||||
"/claims",
|
||||
web::get().to_async(move |pool: AppPool| db_call(pool, move |api| api.fetch_claims())),
|
||||
)
|
||||
.route(
|
||||
"/update-wealth/{player_id}/{amount}",
|
||||
web::get().to_async(move |pool: AppPool, data: web::Path<(i32, f32)>| {
|
||||
|
||||
Reference in new issue
Block a user