mirror of
https://code.sup39.dev/repos/Wqawg
synced 2024-12-28 11:14:51 +09:00
Fix projects field type
This commit is contained in:
parent
81f8dba101
commit
b44dc7b456
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ data VervisEnv = VervisEnv
|
||||||
data VervisState = VervisState
|
data VervisState = VervisState
|
||||||
{ vsUsers :: HashMap UserID User
|
{ vsUsers :: HashMap UserID User
|
||||||
, vsGroups :: HashMap GroupID Group
|
, vsGroups :: HashMap GroupID Group
|
||||||
, vsProjects :: HashMap ProjID Project
|
, vsProjects :: HashMap (Either UserID GroupID) (HashMap ProjID Project)
|
||||||
}
|
}
|
||||||
|
|
||||||
newtype Vervis a = Vervis { unVervis :: RWST VervisEnv () VervisState IO a }
|
newtype Vervis a = Vervis { unVervis :: RWST VervisEnv () VervisState IO a }
|
||||||
|
|
Loading…
Reference in a new issue