diff --git a/src/xxAROX/PresenceMan/entity/ApiActivity.php b/src/xxAROX/PresenceMan/entity/ApiActivity.php index e73b564..bdb488b 100644 --- a/src/xxAROX/PresenceMan/entity/ApiActivity.php +++ b/src/xxAROX/PresenceMan/entity/ApiActivity.php @@ -56,7 +56,7 @@ public function serialize(): string{ ])] public function json_serialize(): array{ return [ 'client_id' => PresenceMan::$CLIENT_ID, - 'type' => $this->type->name(), + 'type' => $this->type->value, 'state' => $this->state, 'details' => $this->details, 'end' => $this->end,