remove userID and teamID from status page

This commit is contained in:
Alex Holliday
2025-06-13 13:10:56 +08:00
parent 5e23a2b79c
commit 42372ab111
4 changed files with 14 additions and 9 deletions

View File

@@ -847,11 +847,9 @@ class NetworkService {
}
async createStatusPage(config) {
const { user, form, isCreate } = config;
const { form, isCreate } = config;
const fd = new FormData();
fd.append("teamId", user.teamId);
fd.append("userId", user._id);
fd.append("type", form.type);
form.isPublished !== undefined && fd.append("isPublished", form.isPublished);
form.companyName && fd.append("companyName", form.companyName);