From 051adcbb8a856e27f65b37281ad191656ca614aa Mon Sep 17 00:00:00 2001 From: Brian Date: Tue, 10 Dec 2024 22:55:57 -0500 Subject: [PATCH] Set the creatorUid to `ANDROID-CloudTAK-${user.email}` when creating missions --- api/routes/marti-mission.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/routes/marti-mission.ts b/api/routes/marti-mission.ts index fb6a747e7..9537a78f6 100644 --- a/api/routes/marti-mission.ts +++ b/api/routes/marti-mission.ts @@ -172,7 +172,7 @@ export default async function router(schema: Schema, config: Config) { const mission = await api.Mission.create(req.params.name, { ...req.body, - creatorUid: user.email + creatorUid: `ANDROID-CloudTAK-${user.email}` }); res.json(mission);