Fork of github.com/did-method-plc/did-method-plc

fix error string format

Changed files
+1 -1
packages
server
+1 -1
packages/server/src/constraints.ts
···
if (key.length > MAX_DID_KEY_LENGTH) {
throw new ServerError(
400,
-
`Verification Method key too long (max ${MAX_DID_KEY_LENGTH}): ${id}`,
+
`Verification Method key too long (max ${MAX_DID_KEY_LENGTH}): ${key}`,
)
}
try {