aboutsummaryrefslogtreecommitdiffstats
path: root/routes
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2025-02-20 18:56:42 +0000
committerAdam Soltys <[email protected]>2025-02-20 18:56:42 +0000
commit8e5395b7294e126fc54ef918ee16cf0036dd0089 (patch)
treeb6d7ecb057357e6559e60369400ddd9c6f31bdfe /routes
parent963b86386def62ea5d3098b5f6299721aa127188 (diff)
downloadcoinos-server-8e5395b7294e126fc54ef918ee16cf0036dd0089.tar.gz
coinos-server-8e5395b7294e126fc54ef918ee16cf0036dd0089.zip
handle no budget
Diffstat (limited to 'routes')
-rw-r--r--routes/users.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/routes/users.ts b/routes/users.ts
index 577d1f5a..f7112591 100644
--- a/routes/users.ts
+++ b/routes/users.ts
@@ -866,7 +866,7 @@ export default {
if (app && uid !== app.uid) fail("Unauthorized");
if (secret) pubkey = getPublicKey(secret);
- if (!app) app = { created: Date.now };
+ if (!app) app = { created: Date.now() };
app = {
...app,