mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-31 02:22:26 -05:00 
			
		
		
		
	[feature] Add image descriptions for default avatar + header; don't allow editing default desc (#3473)
This commit is contained in:
		
					parent
					
						
							
								e9299e1174
							
						
					
				
			
			
				commit
				
					
						8a93300ac4
					
				
			
		
					 22 changed files with 198 additions and 25 deletions
				
			
		|  | @ -26,6 +26,7 @@ import { | |||
| 	authorize as oauthAuthorize, | ||||
| } from "../../../redux/oauth"; | ||||
| import { RootState } from '../../../redux/store'; | ||||
| import { Account } from '../../types/account'; | ||||
| 
 | ||||
| export interface OauthTokenRequestBody { | ||||
| 	client_id: string; | ||||
|  | @ -58,7 +59,7 @@ const SETTINGS_URL = (getSettingsURL()); | |||
| // https://redux-toolkit.js.org/rtk-query/usage/customizing-queries#performing-multiple-requests-with-a-single-query
 | ||||
| const extended = gtsApi.injectEndpoints({ | ||||
| 	endpoints: (build) => ({ | ||||
| 		verifyCredentials: build.query<any, void>({ | ||||
| 		verifyCredentials: build.query<Account, void>({ | ||||
| 			providesTags: (_res, error) => | ||||
| 				error == undefined ? ["Auth"] : [], | ||||
| 			async queryFn(_arg, api, _extraOpts, fetchWithBQ) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue