refactor(front): use NodeInfo21 types
This commit is contained in:
		
							parent
							
								
									253d310ccf
								
							
						
					
					
						commit
						0da18700e6
					
				|  | @ -15,7 +15,7 @@ export const install: InitModule = async ({ store, router }) => { | |||
|   const fetchNodeInfo = async () => { | ||||
|     try { | ||||
|       const [{ data }] = await Promise.all([ | ||||
|         axios.get<components['schemas']['NodeInfo20']>('instance/nodeinfo/2.1/'), | ||||
|         axios.get<components['schemas']['NodeInfo21']>('instance/nodeinfo/2.1/'), | ||||
|         store.dispatch('instance/fetchSettings') | ||||
|       ]) | ||||
| 
 | ||||
|  |  | |||
|  | @ -12,7 +12,7 @@ export interface State { | |||
|   frontSettings: FrontendSettings | ||||
|   instanceUrl?: string | ||||
|   knownInstances: string[] | ||||
|   nodeinfo: components['schemas']['NodeInfo20'] | null | ||||
|   nodeinfo: components['schemas']['NodeInfo21'] | null | ||||
|   settings: Settings | ||||
| } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 upsiflu
						upsiflu