mirror of
				https://github.com/teamhanko/hanko.git
				synced 2025-10-31 08:35:47 +08:00 
			
		
		
		
	feat: init rate limiting. functional on passcode/init
This commit is contained in:
		| @ -74,7 +74,7 @@ describe("PasscodeClient.initialize()", () => { | ||||
|       passcodeRetryAfter | ||||
|     ); | ||||
|     expect(passcodeClient.state.write).toHaveBeenCalledTimes(1); | ||||
|     expect(response.headers.get).toHaveBeenCalledWith("X-Retry-After"); | ||||
|     expect(response.headers.get).toHaveBeenCalledWith("Retry-After"); | ||||
|   }); | ||||
|  | ||||
|   it("should throw error when API response is not ok", async () => { | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Felix Dubrownik
					Felix Dubrownik