We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 351f527 + 3a1fc07 commit ab3b4b1Copy full SHA for ab3b4b1
Sources/FCM/Helpers/FCM+JWT.swift
@@ -4,6 +4,7 @@ import JWT
4
5
extension FCM {
6
func generateJWT() throws -> String {
7
+ gAuthPayload.update()
8
let pk = try RSAKey.private(pem: key)
9
let signer = JWTSigner.rs256(key: pk)
10
let jwt = JWT<GAuthPayload>(payload: gAuthPayload)
0 commit comments