Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MMZK1526 committed Nov 21, 2024
1 parent b950f48 commit 61a2510
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Data/TypeID/Internal.hs
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ genTypeIDV4' prefix = case checkPrefix prefix of
genTypeIDV5 :: MonadIO m => Text -> UUID -> [Word8] -> m (TypeID' 'V5)
genTypeIDV5 prefix ns obj = case checkPrefix prefix of
Nothing -> pure $ unsafeGenTypeIDV5 prefix ns obj
Just err -> throw err
Just err -> liftIO $ throwIO err
{-# INLINE genTypeIDV5 #-}

-- | Obtain a 'TypeID'' from a prefix and a 'UUID'.
Expand Down

0 comments on commit 61a2510

Please sign in to comment.