Repair syntax of webhook

This commit is contained in:
zontreck 2024-11-23 13:08:24 -07:00
parent 98b1d0c9e4
commit 114b70b0f5
3 changed files with 3 additions and 3 deletions

View file

@ -1,3 +1,3 @@
class Consts { class Consts {
static const VERSION = "1.1.112324.1248"; static const VERSION = "1.1.112324.1308";
} }

View file

@ -18,7 +18,7 @@ class DiscordHookHelper {
"description": content, "description": content,
"color": colorCode, "color": colorCode,
"author": {"name": props.serverName}, "author": {"name": props.serverName},
"footer": "CEMM Version ${Consts.VERSION}" "footer": {"text": "CEMM Version ${Consts.VERSION}"}
} }
], ],
"attachments": [] "attachments": []

View file

@ -16,7 +16,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
# In Windows, build-name is used as the major, minor, and patch parts # In Windows, build-name is used as the major, minor, and patch parts
# of the product and file versions while build-number is used as the build suffix. # of the product and file versions while build-number is used as the build suffix.
version: 1.1.112324+1248 version: 1.1.112324+1308
environment: environment:
sdk: ">=3.1.4 <4.0.0" sdk: ">=3.1.4 <4.0.0"