This commit is contained in:
		
							parent
							
								
									ae7c372827
								
							
						
					
					
						commit
						ccff43b64b
					
				@ -311,7 +311,7 @@ export const nemesisController: RequestHandler = async (req, res) => {
 | 
				
			|||||||
            target: inventory.toJSON().Nemesis
 | 
					            target: inventory.toJSON().Nemesis
 | 
				
			||||||
        });
 | 
					        });
 | 
				
			||||||
    } else if ((req.query.mode as string) == "t") {
 | 
					    } else if ((req.query.mode as string) == "t") {
 | 
				
			||||||
        const inventory = await getInventory(account._id.toString(), "NemesisHistory");
 | 
					        const inventory = await getInventory(account._id.toString(), "LastNemesisAllySpawnTime");
 | 
				
			||||||
        //const body = getJSONfromString<IUpdateAllySpawnTimeRequest>(String(req.body));
 | 
					        //const body = getJSONfromString<IUpdateAllySpawnTimeRequest>(String(req.body));
 | 
				
			||||||
        const now = new Date(Math.trunc(Date.now() / 1000) * 1000);
 | 
					        const now = new Date(Math.trunc(Date.now() / 1000) * 1000);
 | 
				
			||||||
        inventory.LastNemesisAllySpawnTime = now;
 | 
					        inventory.LastNemesisAllySpawnTime = now;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user