Skip to content
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
2 changes: 0 additions & 2 deletions src/lib/nodes/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -255,8 +255,6 @@ async function createNodesAction(
const startDate = options.start;
if (typeof startDate !== "string") {
createParams.start_at = Math.floor(startDate.getTime() / 1000);
} else {
createParams.start_at = Math.floor(new Date().getTime() / 1000);
}

// Check if the start date is "NOW" or on an hour boundary
Expand Down
10 changes: 5 additions & 5 deletions src/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1892,11 +1892,11 @@ export interface components {
/** @default autoreserved */
node_type: null | components["schemas"]["node-api_NodeType"];
/**
* Format: int64
* @description Start time as Unix timestamp in seconds
* @example 1640995200
*/
start_at?: number;
* Format: int64
* @description Start time as Unix timestamp in seconds
* @example 1640995200
*/
start_at?: number | null;
/**
* @description Zone to create the nodes in
* @example hayesvalley
Expand Down