prod deploy next test
This commit is contained in:
parent
ea934c12da
commit
80ac314e1e
@ -16,7 +16,7 @@ const resolveUserFn = async (context: any) => {
|
|||||||
return { id: 'user1' };
|
return { id: 'user1' };
|
||||||
}
|
}
|
||||||
|
|
||||||
const validateUser = params => {
|
const validateUser = (params: any) => {
|
||||||
if (!params.user) {
|
if (!params.user) {
|
||||||
return new Error(`Unauthenticated!`)
|
return new Error(`Unauthenticated!`)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user