mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
Remove redundant await return in create project mutation
This commit is contained in:
@@ -306,10 +306,10 @@ const router = t.router({
|
||||
.mutation(async ({ input }) => {
|
||||
const [projectName, options] = input;
|
||||
const combinedInput = {
|
||||
projectName: projectName || undefined,
|
||||
projectName,
|
||||
...options,
|
||||
};
|
||||
return await createProjectHandler(combinedInput);
|
||||
await createProjectHandler(combinedInput);
|
||||
}),
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user