chore: updates
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "vocechat-web",
|
"name": "vocechat-web",
|
||||||
"version": "0.3.56",
|
"version": "0.3.57",
|
||||||
"private": true,
|
"private": true,
|
||||||
"homepage": "https://voce.chat",
|
"homepage": "https://voce.chat",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ const getExpireDay = (sub_dur: PriceSubscriptionDuration) => {
|
|||||||
let res = currDate;
|
let res = currDate;
|
||||||
switch (sub_dur) {
|
switch (sub_dur) {
|
||||||
case "year":
|
case "year":
|
||||||
res = currDate.add(1, "year");
|
res = currDate.add(100, "year");
|
||||||
break;
|
break;
|
||||||
case "month":
|
case "month":
|
||||||
res = currDate.add(1, "month");
|
res = currDate.add(1, "month");
|
||||||
|
|||||||
@@ -88,7 +88,7 @@ export default function ConfigAgora() {
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div className="input">
|
<div className="input">
|
||||||
<Label htmlFor="rtm_key">RTM Key</Label>
|
<Label htmlFor="rtm_key">Customer ID</Label>
|
||||||
<Textarea
|
<Textarea
|
||||||
spellCheck={false}
|
spellCheck={false}
|
||||||
disabled={!enabled}
|
disabled={!enabled}
|
||||||
@@ -96,11 +96,11 @@ export default function ConfigAgora() {
|
|||||||
onChange={handleChange}
|
onChange={handleChange}
|
||||||
value={rtm_key}
|
value={rtm_key}
|
||||||
name="rtm_key"
|
name="rtm_key"
|
||||||
placeholder="RTM Key"
|
placeholder="Customer ID for RESTful API"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div className="input">
|
<div className="input">
|
||||||
<Label htmlFor="rtm_secret">RTM Secret</Label>
|
<Label htmlFor="rtm_secret">Customer Secret</Label>
|
||||||
<Textarea
|
<Textarea
|
||||||
spellCheck={false}
|
spellCheck={false}
|
||||||
disabled={!enabled}
|
disabled={!enabled}
|
||||||
@@ -108,7 +108,7 @@ export default function ConfigAgora() {
|
|||||||
onChange={handleChange}
|
onChange={handleChange}
|
||||||
value={rtm_secret}
|
value={rtm_secret}
|
||||||
name="rtm_secret"
|
name="rtm_secret"
|
||||||
placeholder="RTM Secret"
|
placeholder="Customer Secret for RESTful API"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user