Skip to content

Commit acdba1f

Browse files
committed
update: handle post title in post api
1 parent 475165c commit acdba1f

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

infrastructure/Pulumi.production.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
config:
22
aws:region: ap-northeast-2
33
velog:DOCKER_ENV: production
4-
velog:target: web
4+
velog:target: server

infrastructure/Pulumi.stage.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
config:
22
aws:region: ap-northeast-2
33
velog:DOCKER_ENV: stage
4-
velog:target: web
4+
velog:target: server

packages/velog-server/src/services/PostApiService/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,6 @@ export class PostApiService implements Service {
220220
data: {
221221
...(data as Omit<WritePostInput, 'tags' | 'token' | 'series_id'>),
222222
fk_user_id: signedUserId,
223-
title: data.title.slice(0, 255),
224223
},
225224
include: {
226225
user: true,

0 commit comments

Comments
 (0)