mirror of
https://github.com/outline/outline.git
synced 2026-12-02 17:52:07 +03:00
💚
This commit is contained in:
1 file changed
+2
-2
@@ -89,11 +89,11 @@ class ApiClient {
|
||||
});
|
||||
};
|
||||
|
||||
get = (path: string, data?: Object, options?: Object) => {
|
||||
get = (path: string, data: ?Object, options?: Object) => {
|
||||
return this.fetch(path, 'GET', data, options);
|
||||
};
|
||||
|
||||
post = (path: string, data?: Object, options?: Object) => {
|
||||
post = (path: string, data: ?Object, options?: Object) => {
|
||||
return this.fetch(path, 'POST', data, options);
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user