refactor: eliminate collectionID from tab saveContext

Collection ID can be inferred from request ID by removing last index from the path.
This commit is contained in:
jamesgeorge007
2024-02-24 17:37:12 +05:30
parent c30ee5becc
commit d70d5bdb16
6 changed files with 77 additions and 80 deletions

View File

@@ -497,7 +497,6 @@ const HoppRESTSaveContextSchema = z.nullable(
originLocation: z.literal("workspace-user-collection"),
workspaceID: z.string(),
providerID: z.string(),
collectionID: z.string(),
requestID: z.string(),
})
.strict(),