1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-10 04:32:35 +01:00

close issue #684

This commit is contained in:
Erkin Alp Güney 2022-03-14 19:45:25 +03:00
parent f6f5dcafd1
commit 45e4522443
3 changed files with 6 additions and 6 deletions

View File

@ -2960,7 +2960,7 @@
"type": {
"type": "string"
},
"verifie": {
"verified": {
"type": "boolean"
},
"visibility": {
@ -2980,7 +2980,7 @@
"type",
"user",
"user_id",
"verifie",
"verified",
"visibility"
]
},

View File

@ -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#"

View File

@ -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;