This commit is contained in:
+1
-1
Submodule graphql-contracts updated: 95486d75fc...7b6c8ce509
@@ -14,6 +14,7 @@ export const userTypeDefs = `#graphql
|
|||||||
contactPerson: String
|
contactPerson: String
|
||||||
contactEmail: String
|
contactEmail: String
|
||||||
contactPhone: String
|
contactPhone: String
|
||||||
|
approvedAt: String
|
||||||
countryData: String
|
countryData: String
|
||||||
createdAt: String!
|
createdAt: String!
|
||||||
updatedAt: String!
|
updatedAt: String!
|
||||||
@@ -140,6 +141,7 @@ export const userResolvers = {
|
|||||||
createKycRequestRussia: createApplicationRussia,
|
createKycRequestRussia: createApplicationRussia,
|
||||||
},
|
},
|
||||||
KYCApplication: {
|
KYCApplication: {
|
||||||
|
approvedAt: (parent: { approvedAt: Date | null }) => parent.approvedAt?.toISOString() ?? null,
|
||||||
countryData: async (parent: { objectId: number | null }) => getCountryData(parent),
|
countryData: async (parent: { objectId: number | null }) => getCountryData(parent),
|
||||||
createdAt: (parent: { createdAt: Date }) => parent.createdAt.toISOString(),
|
createdAt: (parent: { createdAt: Date }) => parent.createdAt.toISOString(),
|
||||||
updatedAt: (parent: { updatedAt: Date }) => parent.updatedAt.toISOString(),
|
updatedAt: (parent: { updatedAt: Date }) => parent.updatedAt.toISOString(),
|
||||||
|
|||||||
Reference in New Issue
Block a user