fix: setGuildMotd response for U29.3.1 #2851
@ -57,7 +57,7 @@ export const setGuildMotdController: RequestHandler = async (req, res) => {
 | 
				
			|||||||
        await guild.save();
 | 
					        await guild.save();
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if (!account.BuildLabel || version_compare(account.BuildLabel, "2020.03.24.20.24") > 0) {
 | 
					    if (!account.BuildLabel || version_compare(account.BuildLabel, "2020.11.04.18.58") > 0) {
 | 
				
			||||||
        res.json({ IsLongMOTD, MOTD });
 | 
					        res.json({ IsLongMOTD, MOTD });
 | 
				
			||||||
    } else {
 | 
					    } else {
 | 
				
			||||||
        res.send(MOTD).end();
 | 
					        res.send(MOTD).end();
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user