Skip to content

Commit

Permalink
Update expires tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Loudbooks committed Dec 11, 2024
1 parent ee764ae commit 36f2f27
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.*
!.gitignore
docker-compose.yml
.idea
.idea
/backend/target
2 changes: 1 addition & 1 deletion frontend/src/lib/paste.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ export type Paste = {
user: {
id: string;
};
expiresAt: string;
expires_at: string;
};
2 changes: 1 addition & 1 deletion frontend/src/routes/[pastes=paste]/[slug]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
reportBook = data.reportBook;
wrap = data.wrap;
userId = data.user.id;
expires = new Date(data.expiresAt)
expires = new Date(data.expires_at);
const reloadTime = () => {
timeSinceStr = formatTimeSince(created as unknown as number);
Expand Down

0 comments on commit 36f2f27

Please sign in to comment.