You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use
`
let encoder = JSONEncoder()
encoder.keyEncodingStrategy = .convertToSnakeCase
encoder.dateEncodingStrategy = .iso8601
ContentConfiguration.global.use(encoder: encoder, for: .json)
but when I don't use coding strategy I got access token from Google. And it work, for testing I use project in book "Server-Side Swift with Vapor" (edition 3) Chapter 22: Google Authentication.
The text was updated successfully, but these errors were encountered:
When I use
`
let encoder = JSONEncoder()
encoder.keyEncodingStrategy = .convertToSnakeCase
encoder.dateEncodingStrategy = .iso8601
ContentConfiguration.global.use(encoder: encoder, for: .json)
let decoder = JSONDecoder()
decoder.keyDecodingStrategy = .convertFromSnakeCase
decoder.dateDecodingStrategy = .iso8601
ContentConfiguration.global.use(decoder: decoder, for: .json)
`
in configure.swift I haw error -
but when I don't use coding strategy I got access token from Google. And it work, for testing I use project in book "Server-Side Swift with Vapor" (edition 3) Chapter 22: Google Authentication.
The text was updated successfully, but these errors were encountered: