fix: remove large files from git
This commit is contained in:
@ -32,15 +32,25 @@ export async function GET() {
|
||||
updatedAt: userProfile?.updatedAt,
|
||||
},
|
||||
settings: userSettings,
|
||||
recordings: recordings.map((recording) => ({
|
||||
id: recording.id,
|
||||
title: recording.title,
|
||||
audioUrl: recording.audioUrl,
|
||||
duration: recording.duration,
|
||||
fileSize: recording.fileSize,
|
||||
mimeType: recording.mimeType,
|
||||
createdAt: recording.createdAt.toISOString(),
|
||||
})),
|
||||
recordings: recordings.map(
|
||||
(recording: {
|
||||
id: string;
|
||||
title: string;
|
||||
audioUrl: string;
|
||||
duration: number;
|
||||
fileSize: number;
|
||||
mimeType: string;
|
||||
createdAt: Date;
|
||||
}) => ({
|
||||
id: recording.id,
|
||||
title: recording.title,
|
||||
audioUrl: recording.audioUrl,
|
||||
duration: recording.duration,
|
||||
fileSize: recording.fileSize,
|
||||
mimeType: recording.mimeType,
|
||||
createdAt: recording.createdAt.toISOString(),
|
||||
})
|
||||
),
|
||||
exportDate: new Date().toISOString(),
|
||||
version: "1.0.0",
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user