diff --git a/packages/hoppscotch-common/src/components/collections/index.vue b/packages/hoppscotch-common/src/components/collections/index.vue index f8f0aa27..89642092 100644 --- a/packages/hoppscotch-common/src/components/collections/index.vue +++ b/packages/hoppscotch-common/src/components/collections/index.vue @@ -231,6 +231,7 @@ import { useI18n } from "@composables/i18n" import { useToast } from "@composables/toast" import { + generateUniqueRefId, getDefaultRESTRequest, HoppCollection, HoppRESTAuth, @@ -1477,6 +1478,7 @@ const duplicateRequest = async (payload: { const newRequest = { ...cloneDeep(request), + _ref_id: generateUniqueRefId("req"), name: `${request.name} - ${t("action.duplicate")}`, } diff --git a/packages/hoppscotch-common/src/pages/index.vue b/packages/hoppscotch-common/src/pages/index.vue index a330156f..0c067810 100644 --- a/packages/hoppscotch-common/src/pages/index.vue +++ b/packages/hoppscotch-common/src/pages/index.vue @@ -134,7 +134,7 @@