Something went wrong. Try again.
Mirror — see github.com/blacksky-algorithms/blacksky.community
Something went wrong. Try again.
12345678910111213141516171819202122232425262728// eslint-disable-next-line no-undef, typescript/no-unsafe-call, typescript/no-unsafe-member-accessvar res = http.post('http://localhost:1986/' + SERVER_PATH, { headers: {'Content-Type': 'text/plain'}, body: '',})
if (res.status !== 200 || !res.body) { throw new Error( 'Local E2E manager failed to create the requested fixture (status ' + res.status + ')', )}
// eslint-disable-next-line no-undefvar payloadtry { payload = json(res.body)} catch (_error) { throw new Error('Local E2E manager returned an invalid fixture response')}
if (payload && payload.groupInvite) { output.groupInviteCode = payload.groupInvite.code output.groupInviteScenario = payload.groupInvite.scenario output.groupInviteServiceUrl = payload.groupInvite.acornUrl}