File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ export function createServer() {
127127 "Save a new Nifty project name and its email-forwarding address, and make it the default." ,
128128 inputSchema : {
129129 name : z . string ( ) . min ( 1 ) . describe ( "Project name, e.g. 'Website Revamp'" ) ,
130- email : z . string ( ) . email ( ) . describe ( "Project's Nifty forwarding email" ) ,
130+ email : z . email ( ) . describe ( "Project's Nifty forwarding email" ) ,
131131 } ,
132132 } ,
133133 async ( { name, email } ) => {
@@ -150,11 +150,7 @@ export function createServer() {
150150 inputSchema : {
151151 currentName : z . string ( ) . min ( 1 ) . describe ( "Existing project name to edit" ) ,
152152 newName : z . string ( ) . min ( 1 ) . optional ( ) . describe ( "New project name (omit to keep current)" ) ,
153- newEmail : z
154- . string ( )
155- . email ( )
156- . optional ( )
157- . describe ( "New forwarding email (omit to keep current)" ) ,
153+ newEmail : z . email ( ) . optional ( ) . describe ( "New forwarding email (omit to keep current)" ) ,
158154 } ,
159155 } ,
160156 async ( { currentName, newName, newEmail } ) => {
You can’t perform that action at this time.
0 commit comments