address null reference on AWS
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 1m32s
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 1m32s
				
			This commit is contained in:
		
							parent
							
								
									983a1a6649
								
							
						
					
					
						commit
						6c89380fea
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -71,7 +71,7 @@ pub fn run(allocator: ?std.mem.Allocator, event_handler: HandlerFn) !u8 { // TOD | |||
|         // Lambda does not have context, just environment variables. API Gateway | ||||
|         // might be configured to pass in lots of context, but this comes through | ||||
|         // event data, not context. | ||||
|         var response = UniversalLambdaResponse.init(allocator.?); | ||||
|         var response = UniversalLambdaResponse.init(req_allocator); | ||||
|         response.output_file = std.io.getStdOut(); | ||||
|         const event_response = event_handler(req_allocator, event.event_data, .{ .none = &response }) catch |err| { | ||||
|             response.finish() catch unreachable; | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue