Skip to content

Commit b6527a3

Browse files
committed
fix key auth
1 parent 1bff3a0 commit b6527a3

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/DMS/Service/Meetup/Config/KeyAuthConfig.php

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,15 @@ public function __construct($key)
2222
public function getMiddleware(): array
2323
{
2424
return [
25-
'add key' => new KeyAuthPlugin($this->key)
25+
'add key' => Middleware::mapRequest(new KeyAuthPlugin($this->key))
2626
];
2727
}
2828

29+
/**
30+
* @return string[]
31+
*/
32+
public function getClientConfig(): array
33+
{
34+
return [];
35+
}
2936
}

0 commit comments

Comments
 (0)