mirror of
https://github.com/thedrewen/protojx-manager.git
synced 2026-03-21 01:48:54 +01:00
fix(status): remove unnecessary quotes from host and name properties
This commit is contained in:
@@ -15,16 +15,16 @@ export class StatusService {
|
|||||||
|
|
||||||
public hosts: Host[] = [
|
public hosts: Host[] = [
|
||||||
{
|
{
|
||||||
'host': 'https://protojx.com',
|
host: 'https://protojx.com',
|
||||||
'name': 'Protojx Website',
|
name: 'Protojx Website',
|
||||||
alive: false,
|
alive: false,
|
||||||
ping_type: 'website',
|
ping_type: 'website',
|
||||||
type: 'website',
|
type: 'website',
|
||||||
notify: false
|
notify: false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'host': 'https://manager.protojx.com',
|
host: 'https://manager.protojx.com',
|
||||||
'name': 'Espace Client',
|
name: 'Espace Client',
|
||||||
alive: false,
|
alive: false,
|
||||||
ping_type: 'website',
|
ping_type: 'website',
|
||||||
type: 'website',
|
type: 'website',
|
||||||
@@ -297,10 +297,10 @@ export class StatusService {
|
|||||||
(text) =>
|
(text) =>
|
||||||
text.setContent('## ' + sectionData.title + '\n' + hostTexts.filter((v) => v.type == sectionData.type).map((v) => v.value).join('\n'))
|
text.setContent('## ' + sectionData.title + '\n' + hostTexts.filter((v) => v.type == sectionData.type).map((v) => v.value).join('\n'))
|
||||||
)
|
)
|
||||||
.setThumbnailAccessory(
|
.setThumbnailAccessory(
|
||||||
(acc) =>
|
(acc) =>
|
||||||
acc.setURL(sectionData.thumbnail)
|
acc.setURL(sectionData.thumbnail)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user