Pål Brattberg
03/30/2021, 5:43 PM'GET /myroute': { authorizationType: sst.ApiAuthorizationType.NONE, function: `services/${id}/timer.opt2`, timeout: 15 }
Of course, that's (mostly) wrong and will ignore the timeout. Now it's defined like this and all is well:
'GET /myroute': { authorizationType: sst.ApiAuthorizationType.NONE, function: { handler: `services/${id}/timer.opt2`, timeout: 15 } }
Frank
Frank
Pål Brattberg
03/30/2021, 7:37 PMPål Brattberg
03/30/2021, 7:37 PMFrank
Frank
Matthew Purdon
04/02/2021, 8:54 PMMatthew Purdon
04/02/2021, 8:55 PM