Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 344 Bytes

File metadata and controls

20 lines (14 loc) · 344 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')
	.post(decline);