Skip to content

Commit

Permalink
feat: get a implicit publication.
Browse files Browse the repository at this point in the history
  • Loading branch information
zensh committed Sep 18, 2023
1 parent 2d9afb1 commit 9d6898a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "writing"
version = "0.10.6"
version = "0.10.7"
edition = "2021"
rust-version = "1.64"
description = ""
Expand Down
2 changes: 1 addition & 1 deletion src/db/model_publication.rs
Original file line number Diff line number Diff line change
Expand Up @@ -873,7 +873,7 @@ impl Publication {
let query = format!(
"SELECT {} FROM publication WHERE cid=? AND status=? LIMIT ? ALLOW FILTERING BYPASS CACHE USING TIMEOUT 3s",
fields.clone().join(","));
let params = (cid.to_cql(), 2, query_size);
let params = (cid.to_cql(), 2i8, query_size);
db.execute_iter(query, params).await?
} else {
let query = format!(
Expand Down

0 comments on commit 9d6898a

Please sign in to comment.