chore: some minor improvements to nemesis mode=s #2126
@ -171,7 +171,7 @@ export const nemesisController: RequestHandler = async (req, res) => {
 | 
			
		||||
    } else if ((req.query.mode as string) == "s") {
 | 
			
		||||
        const inventory = await getInventory(account._id.toString(), "Nemesis");
 | 
			
		||||
        if (inventory.Nemesis) {
 | 
			
		||||
            logger.warn(`account already has a nemesis but is requesting a new one; overwriting it`);
 | 
			
		||||
            logger.warn(`overwriting an existing nemesis as a new one is being requested`);
 | 
			
		||||
        }
 | 
			
		||||
        const body = getJSONfromString<INemesisStartRequest>(String(req.body));
 | 
			
		||||
        body.target.fp = BigInt(body.target.fp);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user