Skip to content

Commit 7c9a9b3

Browse files
authored
feat(serverless_sqldb): swap values of OrderBy of message ListDatabaseBackupsRequest (#1230)
1 parent d13076c commit 7c9a9b3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/clients/src/api/serverless_sqldb/v1alpha1/api.gen.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ export class API extends ParentAPI {
240240
/**
241241
* List your Serverless SQL Database backups. List all Serverless SQL Database
242242
* backups for a given Scaleway Project or Database. By default, the backups
243-
* returned in the list are ordered by creation date in ascending order,
243+
* returned in the list are ordered by creation date in descending order,
244244
* though this can be modified via the order_by field.
245245
*
246246
* @param request - The request {@link ListDatabaseBackupsRequest}

packages/clients/src/api/serverless_sqldb/v1alpha1/types.gen.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ export type DatabaseStatus =
1818
| 'locked'
1919

2020
export type ListDatabaseBackupsRequestOrderBy =
21-
| 'created_at_asc'
2221
| 'created_at_desc'
22+
| 'created_at_asc'
2323

2424
export type ListDatabasesRequestOrderBy =
2525
| 'created_at_asc'

0 commit comments

Comments
 (0)