Skip to content
This repository was archived by the owner on Nov 15, 2024. It is now read-only.

Fix climateSettingSchedules.delete type#263

Merged
Andrewjeska merged 8 commits into
mainfrom
fix-css-delete
Aug 23, 2023
Merged

Fix climateSettingSchedules.delete type#263
Andrewjeska merged 8 commits into
mainfrom
fix-css-delete

Conversation

@Andrewjeska
Copy link
Copy Markdown
Contributor

No description provided.

Comment thread src/types/route-responses.ts Outdated
Andrewjeska and others added 2 commits August 23, 2023 10:42
Co-authored-by: Evan Sosenko <evan@getseam.com>
@Andrewjeska Andrewjeska marked this pull request as ready for review August 23, 2023 17:45
Comment thread src/seam-connect/routes.ts Outdated
),
delete: (params: ClimateSettingScheduleDeleteRequest) =>
this.makeRequest({
this.makeRequest<ClimateSettingScheduleDeleteResponse>({
Copy link
Copy Markdown
Member

@razor-x razor-x Aug 23, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should probably do

    delete: (params: ClimateSettingScheduleDeleteRequest): Promise<ClimateSettingScheduleDeleteResponse>
        await this.makeRequest({
        ...
        return
...
export type ClimateSettingScheduleDeleteResponse = void

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment thread src/seam-connect/routes.ts Outdated
Andrewjeska and others added 2 commits August 23, 2023 11:16
Co-authored-by: Evan Sosenko <evan@getseam.com>
@Andrewjeska Andrewjeska merged commit 94ddcfd into main Aug 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants