Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(W-17568149): pg:settings:log-min-duration-statement command is su… #3167

Merged
merged 1 commit into from
Jan 9, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default class LogMinDurationStatement extends PGSettingsCommand {
protected settingKey:SettingKey = 'log_min_duration_statement'

protected convertValue(val: unknown): number {
return val as number
return Number.parseInt(val as string, 10)
}

protected explain(setting: Setting<unknown>) {
Expand Down
16 changes: 8 additions & 8 deletions packages/cli/src/lib/types/fir.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1418,7 +1418,7 @@ export interface AddOnWebhookCreatePayload {
/**
* a custom `Authorization` header that Heroku will include with all webhook notifications
*
* @example "Bearer 9266671b2767f804c9d5809c2d384ed57d8f8ce1abd1043e1fb3fbbcb8c3"
* @example "Bearer <the_token>"
*/
authorization?: null | string;
/**
Expand All @@ -1434,7 +1434,7 @@ export interface AddOnWebhookCreatePayload {
/**
* a value that Heroku will use to sign all webhook notification requests (the signature is included in the request’s `Heroku-Webhook-Hmac-SHA256` header)
*
* @example "dcbff0c4430a2960a2552389d587bc58d30a37a8cf3f75f8fb77abe667ad"
* @example "<the_token>"
*/
secret?: null | string;
/**
Expand Down Expand Up @@ -1500,7 +1500,7 @@ export interface AddOnWebhookUpdatePayload {
/**
* a custom `Authorization` header that Heroku will include with all webhook notifications
*
* @example "Bearer 9266671b2767f804c9d5809c2d384ed57d8f8ce1abd1043e1fb3fbbcb8c3"
* @example "Bearer <the_token>"
*/
authorization?: null | string;
/**
Expand All @@ -1516,7 +1516,7 @@ export interface AddOnWebhookUpdatePayload {
/**
* a value that Heroku will use to sign all webhook notification requests (the signature is included in the request’s `Heroku-Webhook-Hmac-SHA256` header)
*
* @example "dcbff0c4430a2960a2552389d587bc58d30a37a8cf3f75f8fb77abe667ad"
* @example "<the_token>"
*/
secret?: null | string;
/**
Expand Down Expand Up @@ -2131,7 +2131,7 @@ export interface AppWebhookCreatePayload {
/**
* a custom `Authorization` header that Heroku will include with all webhook notifications
*
* @example "Bearer 9266671b2767f804c9d5809c2d384ed57d8f8ce1abd1043e1fb3fbbcb8c3"
* @example "Bearer <the_token>"
*/
authorization?: null | string;
/**
Expand All @@ -2147,7 +2147,7 @@ export interface AppWebhookCreatePayload {
/**
* a value that Heroku will use to sign all webhook notification requests (the signature is included in the request’s `Heroku-Webhook-Hmac-SHA256` header)
*
* @example "dcbff0c4430a2960a2552389d587bc58d30a37a8cf3f75f8fb77abe667ad"
* @example "<the_token>"
*/
secret?: null | string;
/**
Expand Down Expand Up @@ -2195,7 +2195,7 @@ export interface AppWebhookUpdatePayload {
/**
* a custom `Authorization` header that Heroku will include with all webhook notifications
*
* @example "Bearer 9266671b2767f804c9d5809c2d384ed57d8f8ce1abd1043e1fb3fbbcb8c3"
* @example "Bearer <the_token>"
*/
authorization?: null | string;
/**
Expand All @@ -2211,7 +2211,7 @@ export interface AppWebhookUpdatePayload {
/**
* a value that Heroku will use to sign all webhook notification requests (the signature is included in the request’s `Heroku-Webhook-Hmac-SHA256` header)
*
* @example "dcbff0c4430a2960a2552389d587bc58d30a37a8cf3f75f8fb77abe667ad"
* @example "<the_token>"
*/
secret?: null | string;
/**
Expand Down
Loading