mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-02-16 18:52:06 +00:00
Update api routes and begin to extract controllers out of routing logic
This commit is contained in:
@@ -12,9 +12,7 @@ import { NextHandler, createRouter } from 'next-connect';
|
||||
import { z } from 'zod';
|
||||
|
||||
interface UpdateProfileRequest extends UserExtendedNextApiRequest {
|
||||
body: {
|
||||
bio: string;
|
||||
};
|
||||
body: { bio: string };
|
||||
}
|
||||
|
||||
interface UpdateUserProfileByIdParams {
|
||||
|
||||
Reference in New Issue
Block a user