fix instance code
This commit is contained in:
@@ -118,7 +118,7 @@ async function updateInstances(): Promise<void> {
|
||||
const existingInstance = instanceNames.get(instance.name);
|
||||
if (existingInstance) {
|
||||
for (const key of Object.keys(instance)) {
|
||||
if (!existingInstance[key]) {
|
||||
if (!(key in existingInstance)) {
|
||||
existingInstance[key] = instance[key];
|
||||
}
|
||||
}
|
||||
|
@@ -3,7 +3,7 @@
|
||||
"name": "Spacebar",
|
||||
"description": "The official Spacebar instance.",
|
||||
"image": "https://raw.githubusercontent.com/spacebarchat/spacebarchat/master/branding/png/Spacebar__Icon-Discord.png",
|
||||
"urls":{
|
||||
"urls": {
|
||||
"wellknown": "https://spacebar.chat/",
|
||||
"api": "https://old.server.spacebar.chat/api",
|
||||
"cdn": "https://cdn.old.server.spacebar.chat",
|
||||
|
Reference in New Issue
Block a user