Skip to content

Commit

Permalink
fix pinning to ppinata
Browse files Browse the repository at this point in the history
  • Loading branch information
tubleronchik committed Sep 14, 2023
1 parent d905373 commit c694c11
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion connectivity/src/feeders/datalog_feeder.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def _pin_to_pinata(file_path: str, config: dict) -> None:
try:
logger.info("DatalogFeeder: Pinning file to Pinata")
pinata = PinataPy(pinata_api, pinata_secret)
pinata.pin_file_to_ipfs(file_path)
pinata.pin_file_to_ipfs(path_to_file=file_path, save_absolute_paths=False)
hash = pinata.pin_list()["rows"][0]["ipfs_pin_hash"]
logger.info(f"DatalogFeeder: File sent to pinata. Hash is {hash}")
except Exception as e:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "sensors_connectivity"
version = "1.5.3"
version = "1.5.4"
description = "Robonomics package to read data from sensors and publish to different output channels"
authors = [
"Vadim Manaenko <vadim.razorq@gmail.com>",
Expand Down

0 comments on commit c694c11

Please sign in to comment.