mirror of
https://github.com/nicotsx/ironmount.git
synced 2025-12-10 12:10:51 +01:00
refactor: all timestamps to ms (#77)
* refactor: change all timestamps to be in miliseconds * chore: format files * chore: fix syntax error
This commit is contained in:
@@ -396,7 +396,7 @@ const updateRepository = async (name: string, updates: { name?: string; compress
|
||||
.set({
|
||||
name: newName,
|
||||
compressionMode: updates.compressionMode ?? existing.compressionMode,
|
||||
updatedAt: Math.floor(Date.now() / 1000),
|
||||
updatedAt: Date.now(),
|
||||
})
|
||||
.where(eq(repositoriesTable.id, existing.id))
|
||||
.returning();
|
||||
|
||||
Reference in New Issue
Block a user