mirror of
				https://github.com/steveiliop56/tinyauth.git
				synced 2025-10-28 04:35:40 +00:00 
			
		
		
		
	fix: handle 201 status for heartbeat
This commit is contained in:
		| @@ -338,8 +338,8 @@ func (app *BootstrapApp) heartbeat() { | ||||
|  | ||||
| 		res.Body.Close() | ||||
|  | ||||
| 		if res.StatusCode != 200 { | ||||
| 			log.Debug().Str("status", res.Status).Msg("Heartbeat returned non-200 status") | ||||
| 		if res.StatusCode != 200 && res.StatusCode != 201 { | ||||
| 			log.Debug().Str("status", res.Status).Msg("Heartbeat returned non-200/201 status") | ||||
| 		} | ||||
| 	} | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Stavros
					Stavros