This repository was archived by the owner on Mar 6, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +3
-6
lines changed
database/data-migrations/20240801120500_thankYouCard_to_endings Expand file tree Collapse file tree 4 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ RUN PRISMA_VERSION=$(cat prisma_version.txt) && npm install -g prisma@$PRISMA_VE
87
87
88
88
EXPOSE 3000
89
89
ENV HOSTNAME "0.0.0.0"
90
- USER nextjs
90
+ # USER nextjs
91
91
92
92
# Prepare volume for uploads
93
93
RUN mkdir -p /home/nextjs/apps/web/uploads/
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @formbricks/web" ,
3
- "version" : " 2.4.1 " ,
3
+ "version" : " 2.4.2 " ,
4
4
"private" : true ,
5
5
"scripts" : {
6
6
"clean" : " rimraf .turbo node_modules .next" ,
Original file line number Diff line number Diff line change @@ -49,7 +49,6 @@ async function runMigration(): Promise<void> {
49
49
const updatedSurvey : UpdatedSurvey = structuredClone ( survey ) as UpdatedSurvey ;
50
50
51
51
if ( survey . redirectUrl ) {
52
- // @ts -expect-error -- TS is not able to infer the type of updatedSurvey
53
52
updatedSurvey . endings = [
54
53
{
55
54
type : "redirectToUrl" ,
@@ -59,7 +58,6 @@ async function runMigration(): Promise<void> {
59
58
} ,
60
59
] ;
61
60
} else if ( survey . thankYouCard ?. enabled ) {
62
- // @ts -expect-error -- TS is not able to infer the type of updatedSurvey
63
61
updatedSurvey . endings = [
64
62
{
65
63
...survey . thankYouCard ,
@@ -68,7 +66,6 @@ async function runMigration(): Promise<void> {
68
66
} ,
69
67
] ;
70
68
} else {
71
- // @ts -expect-error -- TS is not able to infer the type of updatedSurvey
72
69
updatedSurvey . endings = [ ] ;
73
70
}
74
71
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ export type TSurveyEnding = z.infer<typeof ZSurveyEnding>;
50
50
51
51
export const ZSurveyEndings = z . array ( ZSurveyEnding ) ;
52
52
53
- export type TSurveyEndings = z . infer < typeof ZSurveyEnding > ;
53
+ export type TSurveyEndings = z . infer < typeof ZSurveyEndings > ;
54
54
55
55
export enum TSurveyQuestionTypeEnum {
56
56
FileUpload = "fileUpload" ,
You can’t perform that action at this time.
0 commit comments