mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-11-21 12:07:08 +01:00
deprecate "image" in nip89, use picture instead
This commit is contained in:
@@ -22,7 +22,7 @@ def playground(announce=False):
|
||||
|
||||
nip89info = {
|
||||
"name": name,
|
||||
"image": "https://image.nostr.build/28da676a19841dcfa7dcf7124be6816842d14b84f6046462d2a3f1268fe58d03.png",
|
||||
"picture": "https://image.nostr.build/28da676a19841dcfa7dcf7124be6816842d14b84f6046462d2a3f1268fe58d03.png",
|
||||
"about": "I summarize Text",
|
||||
"encryptionSupported": True,
|
||||
"cashuAccepted": True,
|
||||
@@ -30,7 +30,7 @@ def playground(announce=False):
|
||||
}
|
||||
|
||||
nip89config = NIP89Config()
|
||||
nip89config.DTAG = check_and_set_d_tag(identifier, name, dvm_config.PRIVATE_KEY, nip89info["image"])
|
||||
nip89config.DTAG = check_and_set_d_tag(identifier, name, dvm_config.PRIVATE_KEY, nip89info["picture"])
|
||||
nip89config.CONTENT = json.dumps(nip89info)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user