Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 362 Bytes

File metadata and controls

21 lines (15 loc) · 362 Bytes
description Automatically generated file. DO NOT MODIFY
const options = {
	authProvider,
};

const client = Client.init(options);

const decline = {
  message: 'Sorry, you can\'t offer this shift.'
};

await client.api('/teams/{teamId}/schedule/offerShiftRequests/{offerShiftRequestId}/decline')
	.version('beta')
	.post(decline);