Skip to content

Commit

Permalink
Write edit expiry time to debug console (r0adkll#152)
Browse files Browse the repository at this point in the history
  • Loading branch information
boswelja authored Oct 24, 2022
1 parent 81a2f1a commit 980a5c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/edits.ts
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,7 @@ async function getOrCreateEdit(options: EditOptions): Promise<string> {
throw Error('New edit has no ID, cannot continue.')
}

core.debug(`This new edit expires at ${String(insertResult.data.expiryTimeSeconds)}`)
// Return the new edit ID
return insertResult.data.id
}
Expand Down

0 comments on commit 980a5c4

Please sign in to comment.