Added basic post creation.
This commit is contained in:
@@ -42,7 +42,7 @@ export async function post(path, data, { query } = {}) {
|
||||
return body;
|
||||
}
|
||||
|
||||
throw new Error(body.message);
|
||||
throw new Error(body.statusMessage);
|
||||
}
|
||||
|
||||
export async function patch(path, data, { query } = {}) {
|
||||
|
||||
Reference in New Issue
Block a user