Update API codes (#336)

This commit is contained in:
Jeff Mitchell authored and GitHub committed 2020-09-08 23:57:26 -04:00
1 parent 99d5456d7a
commit f94f21fd97
74 files changed
+1557 -1802

No files matched your search

+1 -1
View File
@@ -121,5 +121,5 @@ func EncryptToken(ctx context.Context, kmsCache *kms.Kms, publicId, token string
return "", fmt.Errorf("error marshaling encrypted token: %w", err)
}
return globals.TokenEncryptionVersion + base58.Encode(marshaledBlob), nil
return globals.ServiceTokenV1 + base58.Encode(marshaledBlob), nil
}