Fix invalid syntax

This commit is contained in:
Manuel Thalmann 2024-03-23 23:26:22 +01:00
parent 29d74b3a27
commit 77d779be02

View file

@ -6,10 +6,10 @@ function Install-PersonalUsers([Context] $context) {
$userIDProperty = "User";
$null = New-Module {
Get-UserID {
function Get-UserID {
return $context.Get($userIDProperty);
}
Set-UserID {
function Set-UserID {
param([int]$value);
$context.Set($userIDProperty, $value);
}