the statusphere demo reworked into a vite/react app in a monorepo

remove unused async

Changed files
+5 -5
packages
client
src
services
+5 -5
packages/client/src/services/api.ts
··· 10 10 super(StatusphereAgent.fetchHandler) 11 11 } 12 12 13 - private static fetchHandler: Lexicon.AtpBaseClient['fetchHandler'] = async ( 13 + private static fetchHandler: Lexicon.AtpBaseClient['fetchHandler'] = ( 14 14 path, 15 15 options, 16 16 ) => { 17 - return await fetch(path, { 17 + return fetch(path, { 18 18 ...options, 19 19 headers: { 20 20 'Content-Type': 'application/json', ··· 62 62 }, 63 63 64 64 // Get current user 65 - async getCurrentUser(params: XyzStatusphereGetUser.QueryParams) { 65 + getCurrentUser(params: XyzStatusphereGetUser.QueryParams) { 66 66 return agent.xyz.statusphere.getUser(params) 67 67 }, 68 68 69 69 // Get statuses 70 - async getStatuses(params: XyzStatusphereGetStatuses.QueryParams) { 70 + getStatuses(params: XyzStatusphereGetStatuses.QueryParams) { 71 71 return agent.xyz.statusphere.getStatuses(params) 72 72 }, 73 73 74 74 // Create status 75 - async createStatus(params: XyzStatusphereSendStatus.InputSchema) { 75 + createStatus(params: XyzStatusphereSendStatus.InputSchema) { 76 76 return agent.xyz.statusphere.sendStatus(params) 77 77 }, 78 78 }