Write edit expiry time to debug console (#152)

This commit is contained in:
Jack Boswell
2022-10-24 01:11:26 -07:00
committed by GitHub
parent 81a2f1ad1c
commit 980a5c4201
2 changed files with 2 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@@ -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
}