mirror of
https://github.com/mudabbir-ahmad/MAD-Treasure-Hunt.git
synced 2026-10-08 03:00:20 +00:00
Refactor cache claim logic to use admin-defined claim distance; update related components for consistency
This commit is contained in:
1 parent
ecb61c4858
commit
2646c7b9bc
11 files changed
+98
-74
No files matched your search
@@ -209,6 +209,7 @@ addRoute('POST', '/groups', async (req, res) => {
|
||||
CreatedByUid: payload.CreatedByUid,
|
||||
MaxMemberSubgroups: payload.MaxMemberSubgroups || 1,
|
||||
TeamsEnabled: payload.TeamsEnabled !== undefined ? payload.TeamsEnabled : true,
|
||||
CacheTriggerMeters: payload.CacheTriggerMeters || 20,
|
||||
ApprovedAdmins: [payload.CreatedByUid],
|
||||
CreatedAt: new Date().toISOString(),
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user