feat: fix dribbble
This commit is contained in:
parent
22a25c1a8c
commit
c03b96215f
|
|
@ -1,8 +1,11 @@
|
|||
import { IsDefined, IsOptional, IsString, IsUrl } from 'class-validator';
|
||||
import { IsDefined, IsOptional, IsString, IsUrl, MinLength } from 'class-validator';
|
||||
|
||||
export class DribbbleDto {
|
||||
@IsString()
|
||||
@IsDefined()
|
||||
@MinLength(1, {
|
||||
message: 'Title is required',
|
||||
})
|
||||
title: string;
|
||||
|
||||
@IsString()
|
||||
|
|
|
|||
|
|
@ -6,11 +6,8 @@ import {
|
|||
SocialProvider,
|
||||
} from '@gitroom/nestjs-libraries/integrations/social/social.integrations.interface';
|
||||
import { makeId } from '@gitroom/nestjs-libraries/services/make.is';
|
||||
import { PinterestSettingsDto } from '@gitroom/nestjs-libraries/dtos/posts/providers-settings/pinterest.dto';
|
||||
import axios from 'axios';
|
||||
import FormData from 'form-data';
|
||||
import { timer } from '@gitroom/helpers/utils/timer';
|
||||
import dayjs from 'dayjs';
|
||||
import { SocialAbstract } from '@gitroom/nestjs-libraries/integrations/social.abstract';
|
||||
import { DribbbleDto } from '@gitroom/nestjs-libraries/dtos/posts/providers-settings/dribbble.dto';
|
||||
import mime from 'mime-types';
|
||||
|
|
|
|||
Loading…
Reference in New Issue