File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ private static function getClient(): SolusClient {
1818 * @return array
1919 */
2020 public static function list (int $ server_id ): array {
21- return self ::getClient ()->get ("server/ $ server_id/backups " );
21+ return self ::getClient ()->get ("/ server/$ server_id/backups " );
2222 }
2323
2424 /**
@@ -29,7 +29,7 @@ public static function list(int $server_id): array {
2929 * @return array
3030 */
3131 public function create (int $ server_id ): array {
32- return self ::getClient ()->post ("server/ $ server_id/backups " );
32+ return self ::getClient ()->post ("/ server/$ server_id/backups " );
3333 }
3434
3535}
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ private static function getClient(): SolusClient {
1515 * @return array
1616 */
1717 public static function list (): array {
18- return self ::getClient ()->get ('updates ' );
18+ return self ::getClient ()->get ('/ updates ' );
1919 }
2020
2121 /**
@@ -25,7 +25,7 @@ public static function list(): array {
2525 * @return array
2626 */
2727 public static function update (): array {
28- return self ::getClient ()->post ('updates ' );
28+ return self ::getClient ()->post ('/ updates ' );
2929 }
3030
3131}
You can’t perform that action at this time.
0 commit comments