mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 09:28:40 +00:00
PR review fix
This commit is contained in:
parent
6f16b56f31
commit
1c3f778da9
1 changed files with 1 additions and 1 deletions
|
|
@ -104,7 +104,7 @@ class Key
|
||||||
public static function decode(
|
public static function decode(
|
||||||
Document $project,
|
Document $project,
|
||||||
string $key
|
string $key
|
||||||
): static {
|
) {
|
||||||
if (\str_contains($key, '_')) {
|
if (\str_contains($key, '_')) {
|
||||||
[$type, $secret] = \explode('_', $key, 2);
|
[$type, $secret] = \explode('_', $key, 2);
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue