forked from OpenWF/SpaceNinjaServer
		
	chore: note
This commit is contained in:
		
							parent
							
								
									6d727c50f4
								
							
						
					
					
						commit
						c47a29ec96
					
				@ -12,7 +12,7 @@ export const hubBlessingController: RequestHandler = async (req, res) => {
 | 
				
			|||||||
    if (req.query.mode == "send") {
 | 
					    if (req.query.mode == "send") {
 | 
				
			||||||
        const inventory = await getInventory(accountId, "BlessingCooldown Boosters");
 | 
					        const inventory = await getInventory(accountId, "BlessingCooldown Boosters");
 | 
				
			||||||
        inventory.BlessingCooldown = new Date(Date.now() + 86400000);
 | 
					        inventory.BlessingCooldown = new Date(Date.now() + 86400000);
 | 
				
			||||||
        addBooster(boosterType, 3 * 3600, inventory);
 | 
					        addBooster(boosterType, 3 * 3600, inventory); // unfaithful, but current HUB server does not handle broadcasting, so this way users can bless themselves.
 | 
				
			||||||
        await inventory.save();
 | 
					        await inventory.save();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        let token = "";
 | 
					        let token = "";
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user