mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-03-28 11:11:56 -04:00
updated jsvm types
This commit is contained in:
9344
plugins/jsvm/internal/types/generated/types.d.ts
vendored
9344
plugins/jsvm/internal/types/generated/types.d.ts
vendored
File diff suppressed because it is too large
Load Diff
@@ -46,7 +46,7 @@ func ParseJWT(token string, verificationKey string) (jwt.MapClaims, error) {
|
||||
func NewJWT(payload jwt.MapClaims, signingKey string, duration time.Duration) (string, error) {
|
||||
claims := jwt.MapClaims{
|
||||
// @todo consider with the refactoring to either remove the
|
||||
// duration argument or make it always take precedent?
|
||||
// duration argument or make it always take precedence?
|
||||
"exp": time.Now().Add(duration).Unix(),
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user