Fix expiry times

This commit is contained in:
Daniel
2023-08-04 21:42:30 +02:00
parent b645e440ad
commit cbb4a0f253
2 changed files with 3 additions and 2 deletions

View File

@@ -224,7 +224,7 @@ func authorizeApp(ar *api.Request) (interface{}, error) {
Title: "An app requests access to the Portmaster",
Message: "Allow " + appName + " (" + proc.Profile().LocalProfile().Name + ") to query and modify the Portmaster?\n\nBinary: " + proc.Path,
ShowOnSystem: true,
Expires: time.Now().Add(time.Minute).UnixNano(),
Expires: time.Now().Add(time.Minute).Unix(),
AvailableActions: []*notifications.Action{
{
ID: "allow",