This commit is contained in:
		| @@ -14,7 +14,7 @@ export async function savePostServer( | |||||||
|   is_draft: boolean, |   is_draft: boolean, | ||||||
|   existingSlug?: string |   existingSlug?: string | ||||||
| ) { | ) { | ||||||
|   if ((await auth())?.user != null) { |   if ((await auth())?.user == null) { | ||||||
|     throw new Error("Not authenticated"); |     throw new Error("Not authenticated"); | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Nareshkumar Rao
					Nareshkumar Rao