From 4c9aaa5e1cce61699c7fa4f3e4c19e7415fdf183 Mon Sep 17 00:00:00 2001 From: DogmaDragon <103123951+DogmaDragon@users.noreply.github.com> Date: Sat, 11 Jan 2025 06:06:05 +0200 Subject: [PATCH] Update class wrapper https://github.com/stg-annon/stashapi/commit/c2183802db11260ed0697d433571b9eed18a0368 --- plugins/timestampTrade/timestampTrade.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/timestampTrade/timestampTrade.py b/plugins/timestampTrade/timestampTrade.py index 2e8a1eb..23e8212 100644 --- a/plugins/timestampTrade/timestampTrade.py +++ b/plugins/timestampTrade/timestampTrade.py @@ -211,7 +211,7 @@ def processSceneTimestamTrade(s): } } }""" - res = stash.callGQL(scrapers_graphql) + res = stash.call_GQL(scrapers_graphql) for r in res["listScrapers"]: if r["movie"]["urls"]: for url in r["movie"]["urls"]: @@ -1340,7 +1340,7 @@ if "timestampTrade" in config["plugins"]: # check the schema version for features in the dev release -res = stash.callGQL("{systemStatus {databaseSchema databasePath}}") +res = stash.call_GQL("{systemStatus {databaseSchema databasePath}}") settings["schema"] = res["systemStatus"]["databaseSchema"] settings["funscript_dbpath"] = ( Path(res["systemStatus"]["databasePath"]).parent / "funscript_index.sqlite"