expose user recommendation config in /api/meta (#2902)
This commit is contained in:
		| @@ -55,7 +55,8 @@ export default (params: any, me: ILocalUser) => new Promise(async (res, rej) => | |||||||
| 			recaptcha: config.recaptcha ? true : false, | 			recaptcha: config.recaptcha ? true : false, | ||||||
| 			objectStorage: config.drive && config.drive.storage === 'minio', | 			objectStorage: config.drive && config.drive.storage === 'minio', | ||||||
| 			twitter: config.twitter ? true : false, | 			twitter: config.twitter ? true : false, | ||||||
| 			serviceWorker: config.sw ? true : false | 			serviceWorker: config.sw ? true : false, | ||||||
|  | 			userRecommendation: config.user_recommendation ? config.user_recommendation : {} | ||||||
| 		} | 		} | ||||||
| 	}); | 	}); | ||||||
| }); | }); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Hakaba Hitoyo
					Hakaba Hitoyo