[fix] record id's sind jetzt strings

This commit is contained in:
Christian Fraß 2025-12-30 10:54:24 +01:00
parent 842ccef22f
commit 5cd05dfa8f

View file

@ -147,7 +147,7 @@ def api_macro_save(
} }
) )
id_ = result["id"] id_ = result["id"]
log("created record %u" % id_) log("created record %s" % id_)
elif (count == 1): elif (count == 1):
id_ = matching[0]["id"] id_ = matching[0]["id"]
result = api_call( result = api_call(
@ -160,7 +160,7 @@ def api_macro_save(
"content": content, "content": content,
} }
) )
log("updated record %u" % id_) log("updated record %s" % id_)
else: else:
log("found multiple records with this name and type") log("found multiple records with this name and type")
api_macro_logout(environment, accesstoken) api_macro_logout(environment, accesstoken)