diff --git a/front/src/components/channels/UploadForm.vue b/front/src/components/channels/UploadForm.vue index f6055065b..edd1ef040 100644 --- a/front/src/components/channels/UploadForm.vue +++ b/front/src/components/channels/UploadForm.vue @@ -404,7 +404,6 @@ const labels = computed(() => ({ })) const publish = async () => { - console.log("TRYING TO PUBLISH") isLoading.value = true errors.value = [] @@ -436,67 +435,6 @@ const publish = async () => { defineExpose({ publish }) - -// Api Calls - -// Create a new channel -/* -"/api/v2/channels/": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get: operations["get_channels_2"]; //! - put?: never; - post: operations["create_channel_2"]; //! - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - -create_channel_2: { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - requestBody: { - content: { - "application/json": components["schemas"]["ChannelCreateRequest"]; ! - "application/x-www-form-urlencoded": components["schemas"]["ChannelCreateRequest"]; - "multipart/form-data": components["schemas"]["ChannelCreateRequest"]; - "application/activity+json": components["schemas"]["ChannelCreateRequest"]; - }; - }; - responses: { - 201: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["ChannelCreate"]; - }; - }; - }; - }; - -ChannelCreateRequest: { - cover?: string | null; - name: string; !!! - username: string; !!! - description: components["schemas"]["ContentRequest"] | null; null - tags: string[]; [] - content_category: components["schemas"]["ContentCategoryEnum"]; 'music' - metadata?: { //undefined - [key: string]: unknown; - }; - }; -*/