Skip to content

Commit

Permalink
fix: 多了个 await
Browse files Browse the repository at this point in the history
  • Loading branch information
SALTWOOD committed Jan 29, 2025
1 parent 510912c commit 20f6e0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/ApiClusters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ export class ApiClusters {
return;
}
cluster.clusterSecret = Utilities.generateRandomString(32);
await inst.db.update<ClusterEntity>(cluster);
inst.db.update<ClusterEntity>(cluster);
res.json({
clusterSecret: cluster.clusterSecret
});
Expand Down

0 comments on commit 20f6e0c

Please sign in to comment.