close issue #684
This commit is contained in:
		
							parent
							
								
									771e9c1cae
								
							
						
					
					
						commit
						aa7a5b126b
					
				| @ -2960,7 +2960,7 @@ | ||||
| 					"type": { | ||||
| 						"type": "string" | ||||
| 					}, | ||||
| 					"verifie": { | ||||
| 					"verified": { | ||||
| 						"type": "boolean" | ||||
| 					}, | ||||
| 					"visibility": { | ||||
| @ -2980,7 +2980,7 @@ | ||||
| 					"type", | ||||
| 					"user", | ||||
| 					"user_id", | ||||
| 					"verifie", | ||||
| 					"verified", | ||||
| 					"visibility" | ||||
| 				] | ||||
| 			}, | ||||
|  | ||||
| @ -355,11 +355,11 @@ | ||||
| 					"type": { | ||||
| 						"type": "string" | ||||
| 					}, | ||||
| 					"verifie": { | ||||
| 					"verified": { | ||||
| 						"type": "boolean" | ||||
| 					} | ||||
| 				}, | ||||
| 				"required": ["name", "type", "verifie"] | ||||
| 				"required": ["name", "type", "verified"] | ||||
| 			} | ||||
| 		}, | ||||
| 		"$schema": "http://json-schema.org/draft-07/schema#" | ||||
|  | ||||
| @ -2,7 +2,7 @@ import { Column, Entity, JoinColumn, ManyToOne, RelationId } from "typeorm"; | ||||
| import { BaseClass } from "./BaseClass"; | ||||
| import { User } from "./User"; | ||||
| 
 | ||||
| export interface PublicConnectedAccount extends Pick<ConnectedAccount, "name" | "type" | "verifie"> {} | ||||
| export interface PublicConnectedAccount extends Pick<ConnectedAccount, "name" | "type" | "verified"> {} | ||||
| 
 | ||||
| @Entity("connected_accounts") | ||||
| export class ConnectedAccount extends BaseClass { | ||||
| @ -35,7 +35,7 @@ export class ConnectedAccount extends BaseClass { | ||||
| 	type: string; | ||||
| 
 | ||||
| 	@Column() | ||||
| 	verifie: boolean; | ||||
| 	verified: boolean; | ||||
| 
 | ||||
| 	@Column({ select: false }) | ||||
| 	visibility: number; | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Erkin Alp Güney
						Erkin Alp Güney