Connect to websocket and start accepting messages

This commit is contained in:
Gabe Kangas
2022-05-02 22:13:36 -07:00
parent a0354d6d49
commit 15becc5121
11 changed files with 107 additions and 39 deletions

View File

@ -120,8 +120,6 @@ interface FetchOptions {
auth?: boolean;
}
export async function fetchData(url: string, options?: FetchOptions) {
const { data, method = 'GET', auth = true } = options || {};