Skip to content

Commit 398ef11

Browse files
committed
Owner field support
1 parent c95562c commit 398ef11

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ crate-type = ["cdylib"]
1111
[dependencies]
1212
napi = { version = "2", features = ["async", "serde-json"] }
1313
napi-derive = "2"
14-
flashpoint-archive = { version = "0.13.2", features = ["napi"] }
14+
flashpoint-archive = { path = "../../crates/flashpoint-archive", features = ["napi"] }
1515

1616
[build-dependencies]
1717
napi-build = "2"

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -549,9 +549,9 @@ impl FlashpointNode {
549549
}
550550

551551
#[napi]
552-
pub async fn update_apply_games(&self, games: RemoteGamesRes) -> Result<()> {
552+
pub async fn update_apply_games(&self, games: RemoteGamesRes, owner: String) -> Result<()> {
553553
self.flashpoint
554-
.update_apply_games(&games)
554+
.update_apply_games(&games, &owner)
555555
.await
556556
.map_err(|e| Error::new(Status::GenericFailure, e))
557557
}

0 commit comments

Comments
 (0)