doc: change from posts to post
This commit is contained in:
1 parent
5ffc899f98
commit
168b0fd75c
1 file changed
+1
-1
@@ -25,7 +25,7 @@ const CreatePost = () => {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
const response = await fetch(
|
const response = await fetch(
|
||||||
"https://ai-image-generator-server.onrender.com/api/v1/posts",
|
"https://ai-image-generator-server.onrender.com/api/v1/post",
|
||||||
{
|
{
|
||||||
method: "POST",
|
method: "POST",
|
||||||
headers: {
|
headers: {
|
||||||
|
|||||||
Reference in new issue
Block a user