mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 08:58:35 +00:00
Strip $ instead of replace to match SDK models
This commit is contained in:
parent
6a4f3d6a6b
commit
19123257fc
1 changed files with 1 additions and 1 deletions
|
|
@ -290,7 +290,7 @@ class Resolvers
|
|||
|
||||
foreach ($payload as $key => $value) {
|
||||
if (\str_starts_with($key, '$')) {
|
||||
$escapedKey = \str_replace('$', '_', $key);
|
||||
$escapedKey = \str_replace('$', '', $key);
|
||||
$payload[$escapedKey] = $value;
|
||||
unset($payload[$key]);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue