Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Store creation date in inactivity notices
  • Loading branch information
regalijan committed Oct 19, 2023
1 parent c6a0fdd commit 13965b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions functions/api/inactivity/new.ts
Expand Up @@ -57,6 +57,7 @@ export async function onRequestPost(context: RequestContext) {
Date.now().toString();

await context.env.DATA.put(`inactivity_${inactivityId}`, JSON.stringify({
created_at: Date.now(),
departments,
end,
reason,
Expand Down

0 comments on commit 13965b5

Please sign in to comment.